JavaScript, ever since its first standardized version as ECMAScript (ES) in 1997, has been the key coding language for web technologies. Today, JavaScript can run virtually everywhere, making it a practical choice for cross-platform development and reuse of the same skill set. As its name implies, JavaScript is a scripting language. It is parsed and interpreted during runtime, and only then is it executed by the relevant platform.
Another matter of JavaScript that causes controversy is its dynamic type system. JavaScript, as with most languages, does have a type system. Although a type is not specified while declaring a variable, variables have the type of the last value assigned to it. Consequently, this also means variables ...