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 - / @netninja
========== JavaScript for Beginners Playlist ==========
• JavaScript Tutorials for Beginners
========== CSS for Beginners Playlist ==========
• CSS Tutorials For Beginners
========== HTML for Beginners Playlist ==========
• HTML Tutorials For Beginners
========== The Net Ninja ============
For more front-end development tutorials & to black-belt your coding skills, head over to - / @netninja or http://thenetninja.co.uk
========== Social Links ==========
Twitter - @TheNetNinja - / thenetninjauk
On this page of the site you can watch the video online JavaScript Tutorial For Beginners #21 - Variable Scope with a duration of hours minute second in good quality, which was uploaded by the user Net Ninja 19 August 2015, share the link with friends and acquaintances, this video has already been watched 84,218 times on youtube and it was liked by 1.2 thousand viewers. Enjoy your viewing!