When the function is called, it is called using the new keyword. One of the things the new keyword does is that it "binds the newly created object instance as the this context". We can test the following snippet of code to verify the value of this wh...
Full-Stack JavaScript Developer
Building for the web is my passion. Constantly learning and getting better.
Markdown supported · ⌘↵ to post
No responses yet.