⏱ 0:02est. 2 min
Chapter 19- Conceptual Aside (Types and Javascript)
Notes
#BIGWORD Dynamic Typing - You don't tell the engine what type of data a variable holds, it figures it out while your code is running. Variables can hold different types of values because it's all figured out during execution.
Other languages have Static Typing
bool isNew = ‘hello'; // an error in js
Javascript is Dynamically Typed
var isNew = true // no errors
isNew = "yup!";
isNew = 1;