JavaScript Tutorial For Beginners #21 - Variable Scope
Hey all, this JavaScript tutorial for beginners will introduce the concept of variable scope. Variables can have either global or local scope.
A global variable is initialized at the 'top-level' of your document, and can be used anywhere within your document after it has been declared. A local variable has only local scope, and can only be used within the function in which it was initialized.
As always, fire away with any questions :)
SUBSCRIBE TO CHANNEL - https://www.youtube.com/channe....l/UCW5YeuERMmlnqo4oq
========== JavaScript for Beginners Playlist ==========
https://www.youtube.com/playli....st?list=PL4cUxeGkcC9
========== CSS for Beginners Playlist ==========
https://www.youtube.com/playli....st?list=PL4cUxeGkcC9
========== HTML for Beginners Playlist ==========
https://www.youtube.com/playli....st?list=PL4cUxeGkcC9
========== The Net Ninja ============
For more front-end development tutorials & to black-belt your coding skills, head over to - https://www.youtube.com/channe....l/UCW5YeuERMmlnqo4oq or http://thenetninja.co.uk
========== Social Links ==========
Twitter - @TheNetNinja - https://twitter.com/thenetninjauk

SORT BY-
أعلى تعليقات
-
أحدث تعليقات