.this Alone refers to the global object. Now What is global Object? In JavaScript everything is considered as object, so the whole window displayed by the browser is also a JavaScript object . Code Example: console.log(this); This statement in a .js...

Markdown supported · ⌘↵ to post
No responses yet.