ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

The difference between undefined, null and NaN in Javascript

Автор: James Murdza

Загружено: 2022-04-21

Просмотров: 315

Описание: This video covers falsey values, the identity operator and the isNaN function. I try to explain not just how Javascript behaves, but provide somewhat of a rationale for this behavior.

Summary:
undefined — The default value of a variable that has been declared but not assigned a value
null — A value meaning "nothing" or "no value" that is useful to assign to variables or return from functions
NaN — The result of an invalid mathematical operation, or failure to convert a non-numerical value to a number
equality operator (==) — Operator which does type conversion before comparison
identity operator (===) — Operator which does not do type conversion
Number.isNAN — The correct way to check if a variable is NaN

#Javascript #Null #Programming

For more similar tutorials: https://jamesmurdza.com/

0:00 Introduction
00:10 Boolean Values
00:35 Falsey Values
01:11 Undefined Values
02:25 Null Values
03:29 Return Values
04:54 Undefined and Null from Functions
05:11 Not a Number
06:00 Empty Strings
06:51 Evaluating False Values
07:42 Checking Equality
09:38 Comparing Strings
09:59 Conclusion
10:25 Additional Note

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
The difference between undefined, null and NaN in Javascript

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]