Introduction to JavaScript

Photo by Irvan Smith on Unsplash

Introduction to JavaScript

JavaScript (js) is a lightweight object-oriented programming language used by many websites to write web pages. It is an interpreted, full-featured programming language that enables dynamic interaction in web pages when applied to an HTML document. It was launched in 1995 to add programs to Netscape Navigator web pages. Since then, all other graphical browsers have adopted it. JavaScript allows users to build modern web applications to interact directly without reloading the page each time. A traditional website uses js to provide interactivity and simplicity in many ways. However, JavaScript has nothing in common with the Java programming language. The name was suggested and proposed at a time when Java gained popularity in the market. In addition to browsers, databases such as CouchDB and MongoDB use JavaScript as their scripting language and query language.

Features of Javascript

  1. Javascript is supported by all the web browsers they provide built in execution environment.
  2. Javascript is an interpreted language.
  3. Javascript is an object oriented programming language rather than classes and inheritance there is prototypes are present.
  4. Javascript is case sensitive language.

History In 1993, Mosaic, the first popular web browser, was born. Netscape was founded in 1994 by Marc Andreessen. He realized that the network should become more dynamic. Therefore, HTML was believed to provide the "glue language" to simplify web design for designers and programmers. Therefore, in 1995, the company hired Brendan Eich to implement the Scheme programming language and embed it in the browser. But before Brendan started, the company teamed up with Sun Microsystems to add Java to its browser so it could compete with Microsoft in web technologies and platforms. Now there were two languages: Java and a scripting language. Netscape also decided to give the scripting language a Java-like name. It led to 'JavaScript'. Finally, in May 1995, Marc Andreessen came up with the first Javascript code called "Mocha". Later, the marketing team changed the name to "LiveScript". But due to trademark and some other reasons, this language was later called "JavaScript" in December 1995. Since then, JavaScript has emerged.

So we'll talk about some of its application in our next post and have a visit to our first program . Till then enjoy it.