What is JavaScript?

JavaScript is one of the three pillars of modern web development along with HTML and CSS. The majority of websites employ it and it is supported by all modern web browsers. It is a high-level, multi-paradigm, dynamic, untyped, object-oriented (prototype-based), imperative and interpreted programming language.

JavaScript contains a standard library of objects, such as Array, Date and Math, and a core set of language elements such as operators, control structures, and statements. JavaScript intended to be lightweight and compact programming language, so you want find as many programming features as in, for example, Java or C#, but dynamic, prototype-based nature of JavaScript allows easily extend it.

Today, JavaScript is also used in environments that are not web-based, such as PDF, desktop, mobile and server-side applications.

Java and JavaScript are different languages.

Short answer

  • JavaScript is one of the pillars of modern web development, but can be used in different environments.
  • It is a high-level, multi-paradigm, dynamic, prototype-based and interpreted programming language.