20 Facts About JavaScript

1.

JavaScript, often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS.

FactSnippet No. 2,056,790
2.

JavaScript is a high-level, often just-in-time compiled language that conforms to the ECMAScript standard.

FactSnippet No. 2,056,791
3.

JavaScript engines were originally used only in web browsers, but are now core components of some servers and a variety of applications.

FactSnippet No. 2,056,792
4.

Choice of the JavaScript name has caused confusion, implying that it is directly related to Java.

FactSnippet No. 2,056,793
5.

In 2005, Jesse James Garrett released a white paper in which he coined the term Ajax and described a set of technologies, of which JavaScript was the backbone, to create web applications where data can be loaded in the background, avoiding the need for full page reloads.

FactSnippet No. 2,056,794
6.

Current JavaScript ecosystem has many libraries and frameworks, established programming practices, and substantial usage of JavaScript outside of web browsers.

FactSnippet No. 2,056,795
7.

JavaScript engines are now embedded in a variety of other software systems, both for server-side website deployments and non-browser applications.

FactSnippet No. 2,056,796
8.

JavaScript has recently begun to appear in some embedded systems, usually by leveraging Node.

FactSnippet No. 2,056,797
9.

One partial exception is scoping: originally JavaScript only had function scoping with var; block scoping was added in ECMAScript 2015 with the keywords let and const.

FactSnippet No. 2,056,798
10.

JavaScript is weakly typed, which means certain types are implicitly cast depending on the operation used.

FactSnippet No. 2,056,799
11.

JavaScript has received criticism for the way it implements these conversions as the complexity of the rules can be mistaken for inconsistency.

FactSnippet No. 2,056,800
12.

JavaScript functions are first-class; a function is considered to be an object.

FactSnippet No. 2,056,801
13.

Variables in JavaScript can be defined using either the var, let or const keywords.

FactSnippet No. 2,056,802
14.

In JavaScript, objects are usually created by creating an instance of a class.

FactSnippet No. 2,056,803
15.

Common JavaScript-related security problem is cross-site scripting, a violation of the same-origin policy.

FactSnippet No. 2,056,804
16.

In 2015, a JavaScript-based proof-of-concept implementation of a rowhammer attack was described in a paper by security researchers.

FactSnippet No. 2,056,805
17.

In 2017, a JavaScript-based attack via browser was demonstrated that could bypass ASLR.

FactSnippet No. 2,056,806
18.

Finally, Java did not support functional programming until Java 8, while JavaScript has done so from the beginning, being influenced by Scheme.

FactSnippet No. 2,056,807
19.

JSON, or JavaScript Object Notation, is a general-purpose data interchange format that is defined as a subset of JavaScript's object literal syntax.

FactSnippet No. 2,056,808
20.

JavaScript is the dominant client-side language of the Web, and many websites are script-heavy.

FactSnippet No. 2,056,809