JavaScript Variable Scope vs Python/C/Java/Ruby/PHP - const & let To The Rescue!

Publié le: 28 novembre 2023
sur la chaîne: Good Morning Developers
69
4

This video covers how JavaScript handles variable assignment (hoisting) vs. other C based languages. It will make it clear why let and const were added in ES6 (ECMAScript)!

You don't need to know Python, C, Java, or Ruby to compare. We will just be doing basic loops and functions to illustrate and they all look/work pretty much the same (thank you C!).

I use repl instead of VS Code so it's easy to hop between languages without doing a lot of environment work.


Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript Variable Scope vs Python/C/Java/Ruby/PHP - const & let To The Rescue! durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Good Morning Developers 28 novembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 69 fois et il a aimé 4 téléspectateurs. Bon visionnage!