Basic JavaScript (6/111) | Understanding Uninitialized Variables | freeCodeCamp

Опубликовано: 09 Июль 2020
на канале: Stral Tech
1,385
10

Basic JavaScript (6/111) | Understanding Uninitialized Variables | freeCodeCamp

Full playlist 👉    • Basic JavaScript (1/111) | Comment Yo...  

"When JavaScript variables are declared, they have an initial value of undefined. If you do a mathematical operation on an undefined variable your result will be NaN which means "Not a Number". If you concatenate a string with an undefined variable, you will get a literal string of "undefined".

Initialize the three variables a, b, and c with 5, 10, and "I am a" respectively so that they will not be undefined."

https://www.freecodecamp.org/learn/


Смотрите видео Basic JavaScript (6/111) | Understanding Uninitialized Variables | freeCodeCamp онлайн, длительностью online в хорошем качестве, которое загружено на канал Stral Tech 09 Июль 2020. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 1,385 раз и оно понравилось 10 посетителям.