Skip to main content
0:00est. 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;

🌟 Join the JavaScript360 community

Connect with fellow JS developers, and get free interview prep, React challenges, and DSA guides.

Join on WhatsApp →