Features of JavaScript

JavaScript Definition

JavaScript is a client side scripting language developed by Netscape or use within HTML web pages. JavaScript is loosely based on Java and it is built into all the major modern browsers like Internet Explorer, Firefox, Chrome, Safari etc.


Features of JavaScript:

  • JavaScript is a lightweight, interpreted scripting language that is directly embedded into web pages.
  • It is used for creating network-centric applications.
  • It is an open and cross-platform scripting language.
  • It adds interactivity to HTML pages.
  • JavaScript is a object-based scripting language.
  • Giving the user more control over the browser.
  • It Handling dates and time.
  • It Detecting the user's browser and OS,
  • It is light weighted.
  • JavaScript is a scripting language and it is not java.
  • JavaScript is interpreter based scripting language.
  • JavaScript is case sensitive.
  • JavaScript is object based language as it provides predefined objects.
  • Every statement in javascript must be terminated with semicolon (;).
  • Most of the javascript control statements syntax is same as syntax of control statements in C language.
  • An important part of JavaScript is the ability to create new functions within scripts. Declare a function in JavaScript using function keyword.

Capabilities of JavaScript:

  • JavaScript acts as a programming tool for web designers.
  • They can add dynamic features into an HTML page.
  • JavaScript can react to events.
  • JavaScript can read and write HTML elements and validate input data.
  • JavaScript can be used to create cookies and much more.

Limitations of JavaScript

JavaScript have some limitation which are as following:

  • Client-side JavaScript does not allow the reading or writing of files.
  • It cannot be used for networking applications because there is no such support available.
  • It doesn't have any multithreading or multiprocessor capabilities.