filmov
tv
undefined vs not defined in JS 🤔 | Namaste JavaScript Ep. 6
Показать описание
undefined is a special keyword in JavaScript and `undefined !== not defined`. JS is a loosely typed language (weakly typed language). This video covers an in-depth analysis of the undefined keyword and mistakes you should avoid while using this keyword. It is a special keyword in JS and it acts as a placeholder for variables until they are assigned any value in them.
Understand the difference between undefined and not defined in JS. Many developers assume that undefined is exactly the same as not defined, but that's not true. undefined is a value in JavaScript and in fact, it also takes up memory space. So watch this video to understand everything in deep.
Topics Covered:
00:00 - Introduction to undefined in JavaScript
00:29 - Code Example of undefined in JS
02:02 - Code Example of not defined in JS
04:33 - undefined vs not defined demo using code
07:46 - JS is a loosely typed language a.k.a weakly typed language
08:42 - Mistake you should not make while using undefined
10:17 - Teaser of next video - The Scope Chain
10:30 - Thank you for watching Namaste JavaScript 🙏
Support this video series, NOT BY MONEY, but by sharing it with your friends. 🙏
I'll give my best to come up with great content and everything absolutely for free on YouTube. 😊
If you are active on Social Media,
please give a shoutout to Namaste JavaScript and help me reach more people. 🙏
Cheers,
Akshay Saini
Would love to Stay Connected with you ❤️
#NamasteJS #AkshaySaini
Understand the difference between undefined and not defined in JS. Many developers assume that undefined is exactly the same as not defined, but that's not true. undefined is a value in JavaScript and in fact, it also takes up memory space. So watch this video to understand everything in deep.
Topics Covered:
00:00 - Introduction to undefined in JavaScript
00:29 - Code Example of undefined in JS
02:02 - Code Example of not defined in JS
04:33 - undefined vs not defined demo using code
07:46 - JS is a loosely typed language a.k.a weakly typed language
08:42 - Mistake you should not make while using undefined
10:17 - Teaser of next video - The Scope Chain
10:30 - Thank you for watching Namaste JavaScript 🙏
Support this video series, NOT BY MONEY, but by sharing it with your friends. 🙏
I'll give my best to come up with great content and everything absolutely for free on YouTube. 😊
If you are active on Social Media,
please give a shoutout to Namaste JavaScript and help me reach more people. 🙏
Cheers,
Akshay Saini
Would love to Stay Connected with you ❤️
#NamasteJS #AkshaySaini
Комментарии