This tutorial explains the differences between creating global variables created with var, let, or no keyword. It also compares using this, global, window, and globalThis code from video: gist.github.com/prof3ssorSt3v...
Пікірлер: 18
@kqvanity2 жыл бұрын
It's always great to learn quirky javascript from your clear & concise explanations .
@montenague3 жыл бұрын
You explain things really well man
@radleys52852 жыл бұрын
Thank you! The best explanation I've found on KZfaq
@rajasekhar51353 жыл бұрын
Mr. Steeve dude 😍😍😍😍😍😍 ur the best tutor in the u tube...
@chesterxp5082 жыл бұрын
Another very cool tutorial!
@stephen830843 жыл бұрын
Thank you for all of your videos that you had made for the JavaScript community. Just completely watched all of your JavaScript from the Start playlist and I now feel that I have a decent understanding of what you can do in JavaScript. This is my first programming language. Do you have any recommendation where to go from here? I would like to freelance / Web Dev. Perhaps I should learn to work with content management system just to get some world experience with customers. I learn a little bit of CSS and HTML only read 1 book around 700 pages just enough to get a basic understanding.
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
After the JavaScript from the Start list, I would recommend the JavaScript in the Browser and Learning CSS playlists. Beyond tutorials I recommend that you practice building things. As you build projects you come across topics that you realize that you don't know. Proving that you can build things is how you get jobs. So, again, projects.
@TheAppumone3 жыл бұрын
I always come back to your channel when ever I have a doubt. Thank you for making these tutorials. However, i would suggest you try to use better (marketable) name or idk make your videos stand out. You deserve many more subscribers and views.
@nigelbrie56933 жыл бұрын
I actually love the green background. When I see it I know instantly it's one of Steve's videos! Green means go, so I click it. Make sure you like and subscribe people!
@tinpham64132 жыл бұрын
Thank you, i read that var will add variable to Object Variable in Global Scope, but when i use globalThis or global to display in nodejs it not work, now i understand that refer to window keyword
@BrilTek Жыл бұрын
Thank you!
@qzbnyv3 жыл бұрын
I’m sure that `var` difference between Node and the Browser won’t cause aaaaaannnnnyyy bugs in production at all ;-)
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
The addition of let and then the addition of globalThis were both aimed at addressing those problems. 👍
@lavishly2 жыл бұрын
Love your content but seems always some audio issues. Often too quite but here it is crackling. Might be worth a new mic. Great stuff.
@SteveGriffith-Prof3ssorSt3v32 жыл бұрын
I replaced the old mic years ago. Some of the stuff from 2016 and 2017 has poor audio.
@femaledeer3 жыл бұрын
I don't have enough knowledge to know what the difference is between global/window why it matters
@SteveGriffith-Prof3ssorSt3v33 жыл бұрын
In NodeJS global is the main global object. In the browser window is the top level object