The Final Steps to Mastering JavaScript’s “this” Keyword | sitepoint.com

Completing his look at JavaScript’s ‘this’ keyword, Ivaylo Gerchev examines how to use ‘this’ in callbacks and closures, as well as lexical binding in ES6.

Source: The Final Steps to Mastering JavaScript’s “this” Keyword

This article just got me unprepared as I was thinking I already covered all possible situations where “this” is changed by the context. However today I cemented my knowledge!

Put your GitLab on HTTPS

For this article I will use the following configuration:GitLab Docker image by sameersbn ...

Learn more

About Iliyan Trifonov

Web Developer, Blogger
Tagged , , , . Bookmark the permalink.