JS Global Variables, Global Properties, and globalThis

preview_player
Показать описание
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

Рекомендации по теме
Комментарии
Автор

It's always great to learn quirky javascript from your clear & concise explanations .

kqvanity
Автор

Thank you! The best explanation I've found on Youtube

radleys
Автор

Mr. Steeve dude 😍😍😍😍😍😍 ur the best tutor in the u tube...

rajasekhar
Автор

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.

TheAppumone
Автор

I’m sure that `var` difference between Node and the Browser won’t cause bugs in production at all ;-)

qzbnyv
Автор

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.

stephen
Автор

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

minercreepmc
Автор

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.

lavishly
Автор

I don't have enough knowledge to know what the difference is between global/window why it matters

femaledeer