JavaScript is a scripting language designed primarily for adding interactivity to web pages and creating web applications. JavaScript is an object-oriented language with prototypal inheritance. The language supports several built-in objects, and programmers can create or delete their own objects.
Prototypal inheritance makes JavaScript very different from other popular programming languages such as C++, C#, or Java featuring classes and classical inheritance. JavaScript does not have classes in the C++ or Java sense. In JavaScript, objects can inherit properties directly from each other, forming the object prototype chain. JavaScript is an interpreted language, with optional JIT-compilation support.