Everything there is to know about Javascript Variables, including types, declaring variables, coercion, scope, and hoisting in one video!
⚡️Update! Thank you Mohammed Raja!
At 6:26, the expression actually evaluates to “33” not 6.
⏰ Quick Jumps!
Types: 0:44
Declaring Variables: 4:27
When to use let and const: 5:32
Coercion: 6:15
Scope: 6:50
Hoisting: 8:14
📚 Resources
https://carbon.now.sh/
https://eloquentjavascript.net/
https://dev.to/sarah_chima/var-let-and-const–whats-the-difference-69e
https://tylermcginnis.com/var-let-const/
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var
https://www.tutorialspoint.com/javascript/javascript_variables.htm
https://blog.sessionstack.com/how-javascript-works-memory-management-how-to-handle-4-common-memory-leaks-3f28b94cfbec
Original source
2 responses to “Everything about Javascript Variables in 10 minutes”
6:26 , the result should be "33" not 6
Thanks!