(JavaScript ("JS" for short) is a lightweight, interpreted or just-in-time compiled, high-level programming language with functional priority. Although it is best known as a scripting language for developing web pages, it is also used in many non-browser environments. Based on prototypal programming, JavaScript is a multi-paradigm dynamic scripting language that supports object-oriented, imperative, and declarative (such as functional programming) styles.)