JavaScript

JavaScript or JS is an object oriented programming language that is commonly used for scripting interactive behavior on web pages. It is lightweight and allows us to build rich internet applications. This section covers the basic concepts of JavaScript, simple introduction to JavaScript. Summary of the article:

  • What is JavaScript?
  • History of JavaScript
  • How is JavaScript different from Java?

js

What is JavaScript?
Java Script is a client side scripting language. It is Object Oriented Programming or OOP scripting language. Now all modern HTML pages are using JavaScript. It is also being used in game development, server-side programming, and desktop and mobile applications.
Its syntax was powered by C language. It copies many names and naming conventions from Java, but the two languages are different.

History of JavaScript
At first JavaScript was developed by Brendan Eich at Netscape Communications Corporation in 1995. Today it is a trademark of Oracle Corporation. It is used under license for technology invented and implemented by Mozilla Foundation and Netscape Communications.

How is JavaScript different from Java?
The JavaScript is developed by Netscape, Inc. It is not part of the Java platform. The differences between Java and JavaScript:

  • Java is an OOP programming language but Java Script is an OOP scripting language.
  • Java can create applets or stand-alone applications but JavaScript can’t.
  • Java creates applications that run in a virtual machine or browser but JavaScript code is run on a browser only.
  • Java code needs to be compiled but JavaScript codes are all in text.
  • They require different plug-ins.

JavaScript is widely used in web applications. Many framework, library are developed based on JavaScript. It has some drawbacks also. Some versions of web browser may not support JavaScript. That’s why we should remember that.

Comments

  1. By Abir ahmed

    Reply

  2. By Akas

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *