JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled programming language with function first.
Although it is famous as a scripting language for developing Web pages, it is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative and declarative ( Such as functional programming) style.
It was originally designed by Brendan Eich of Netscape. Netscape originally named its scripting language LiveScript, and later Netscape changed its name to JavaScript after working with Sun.
The similarity of JavaScript and Java names was the result of an agreement reached between Netscape and Sun Microsystems for marketing considerations.