Learn Javascript Fundamentals-Scope, Context, Execution Context

Written by sumeyra-davran | Published 2019/08/01
Tech Story Tags: javascript-fundamentals | execution-context | understanding-javascript | scope-of-javascript | context-of-javascript | latest-tech-stories | hackernoon-top-story | global-execution-context

TLDR In Javascript, you write some code and they get interpreted by the Javascript engine. To understand behind the scenes, you need to have an understanding of basics. To achieve that, in this article, we will be focusing on the difference between scope, context and execution context. With scope, you control the accessibility of your variables. Scope is closely related to the visibility of variables. In global scope, value of “this” is always the window object. Context is simply the value of the property of execution context which will be explained later.via the TL;DR App

no story

Published by HackerNoon on 2019/08/01