javascript

JS – Types & Grammar

Most developers would say that a dynamic language (like JS) does not have *types*. An ECMAScript language type corresponds to values that are directly manipulated by an ECMAScript programmer using the ECMAScript language. The ECMAScript language types are Undefined, Null, Boolean, String, Number, and Object. JavaScript defines seven built-in types: null undefined  boolean number string… Continue reading JS – Types & Grammar

javascript

Javascript – This & Object prototypes

Every line of JavaScript code is run in an “execution context.” The JavaScript runtime environment maintains a stack of these contexts, and the top execution context on this stack is the one that’s actively running. There are three types of executable code: Global code, function code, and eval code. Roughly speaking, global code is code… Continue reading Javascript – This & Object prototypes