Understanding context in JavaScript
Introduction
Even though I have few years commercial experience in JavaScript I am still struggling to understand what exactly context is. Writing this artile will tidy up my mental model and hopefully also you, the reader.
Let’s start by checking what context exactly means in common language - Context is "a frame that surrounds the event and provides resources for its appropriate interpretation".