A lot of people find this keyword in Javascript very confusing. Depending on where is it used and defined it can have different value. This In Functions In normal Javascript functions this refers to global object. It will be window object in browser ...
Front end developer @ Mojang, I teach people TypeScript and React
Markdown supported · ⌘↵ to post
No responses yet.