Рет қаралды 3,992
In today's video, I'll take you through 3 similar code examples in JavaScript, giving us 3 totally different outcomes. The intention of this exercise is to demonstrate the differences between const, let, and var in JavaScript.
Moral of the story: use 'const' and 'let' where possible 🙂
For your reference, check this out:
developer.mozilla.org/en-US/d...
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript