Hey all, in this JavaScript tutorial for beginners, I want to introduce you to the THIS keyword, so... Ninjas, meet the THIS keyword. THIS, meet the ninjas :). Anyway, THIS in JavaScript is a very useful tool, and refers to whatever object currently owns the context you are working in.
For example, at the root of your document, the Window object owns it, so THIS represents the Window object. Therefore, we can call any property on THIS (within the Window context) as we can on the Window object itself.
Any questions, just ask!
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