JavaScript (Not to be confused with Java) is a dynamically typed web programming language. Used in both Server side and Client side. The Server side scripting language NodeJS make use of JavaScript. Use this tag for questions about teaching javascript, not for technical questions about programming in javascript.

JavaScript is a dynamically typed scripting language. It is used in many area like client-side scripting, server-side scripting (e.g. NodeJS), mobile application development (Ionic), and computer application development (Electron).

The huge number of JavaScript libraries make it popular.

Some of the popular JS libraries and tools are, among many others,

  1. jQuery
  2. AngularJS
  3. NodeJS
  4. React

Javascript is object oriented, but not class-based. It is unrelated to Java, except for the name. A new object is created from an existing object by describing new and changed features. The general term for this is prototype based.

While javascript is a general purpose programming language, it is mostly used for scripting web applications, originally at the client end but now also at the server side. Most modern browsers provide support of javascript execution. Unfortunately it can also be an attack vector.

Code Language (used for syntax highlighting): lang-js