Course Banner

javascript Introduction

JavaScript is a client side scripting language which has been developed mainly for including user-friendliness to web pages and creating Web applications. Javascript was first implemented by Netscape Communications Corp. in Netscape Navigator 2 beta (1995). It should be borne in mind that JavaScript is not same as Java language (developed in the 1990s at Sun Microsystems). However, two languages can run together in any web application.

JavaScript is an object-based language(Java is a object oriented programing language). Javascript offers several built-in objects, and web developers can create or delete their own objects. Though javascript is not completely object oriented but prototypal inheritance makes JavaScript very different from other popular programming languages such as C++, C#, or Java which has features like classes and class inheritance In JavaScript, objects can inherit properties directly from each other, and this way it builds object prototype chain.

JavaScript is an interpreted language.Javascript code is not compiled but directly executed by the interpreted.

The interpreter software is inside the browser. One does not need to install any third party software to execute javascript. In modern implementations, JavaScript code may be eithe