EXERCISE ONE: Write Your First Javascript Variable! | Simple JS Project Tutorial & Training

Опубликовано: 29 Ноябрь 2016
на канале: Powerslacker
3,685
16

FULL CODE + IMAGES + SLIDES @ http://blog.breakthru.solutions/learn...

PLAYLIST:    • Learn Javascript with a SIMPLE Projec...  

FOLLOW ME ON TWITTER:   / thepowerslacker  

FURTHER READING
Variables: https://developer.mozilla.org/en-US/d...
Objects: https://developer.mozilla.org/en-US/d...
Arrays: https://developer.mozilla.org/en-US/d...

From The Docs:
Variable declarations, wherever they occur, are processed before any code is executed. The scope of a variable declared with var is its current execution context, which is either the enclosing function or, for variables declared outside any function, global.

Assigning a value to an undeclared variable implicitly creates it as a global variable (it becomes a property of the global object) when the assignment is executed. The differences between declared and undeclared variables are:


Смотрите видео EXERCISE ONE: Write Your First Javascript Variable! | Simple JS Project Tutorial & Training онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Powerslacker 29 Ноябрь 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,685 раз и оно понравилось 16 людям.