JavaScript Introduction

Last Updated Jul 29, 2015, 07:00:14 PM





Introduction to JavaScript

JavaScript is a lightweight, object-oriented language with first-class functions most known as the scripting language for Web pages. JavaScript is very easy to implement because it is integrated with HTML. It is open and cross-platform

What is JavaScript?

JavaScript has a built-in standard library of objects to use it applications. The most popular and widely used objects are Array object, Date object, and Math object, etc. JavaScript also has some core elements like statements, control structures, operators. We can also supplement other objects as well.

JavaScript and Java

The JavaScript language resembles Java but does not have Java's static typing and strong type checking. JavaScript follows most Java expression syntax, naming conventions and basic control-flow constructs that were the reason it was renamed from LiveScript to JavaScript

What you should already know?

This tutorials assumes you have the following basic background:

A general understanding of the Internet and the World Wide Web (WWW).

Good working knowledge of HyperText Markup Language HTML.

Some programming experience. If you are new to programming, try one of the tutorials linked on the main page about JavaScript.

Getting started with JavaScript

You need a web browser to run your code and see the final result

You also need an editor to write JavaScript code. To make your development much easier, we've built interactive live JavaScript editor. Just click on the link to write code and practice JavaScript Editor

Hello world in JavaScript

Start writing JavaScript by opening the code editor and write your first "Hello world" JavaScript code.


Try It Now

As we move to the next chapter you will understand some other advanced javascript features and their syntaxes to write the complex javascript applications.


The JavaScript standard is called ECMAScript. As of 2012, all modern browsers fully support ECMAScript 5.1. Older browsers support at least ECMAScript 3. On June 17, 2015, the sixth major version of ECMAScript was published. This version is officially called ECMAScript 2015 but is commonly referred to as ECMAScript 6 or ES6

Before we move to the next chapters, please keep in mind that learning programming involves learning by doing. To give the interactive experience to users we've built the live code editors on top of our platform. Use any live code editor and start practicing every concept you learn along the way.


JavaScript Live Editor JavaScript Practice Editor




Sources and Credits

The source of the content has been referred and updated with Mozilla Developer Network and W3C Organization

Last Updated Jul 29, 2015, 07:00:14 PM