Learn to Code in JavaScript

JavaScript is a client-side scripting language and a lightweight programming language. It was developed by Brendan Eich at Netscape in December 1995 under the name LiveScript. It is used in combination with HTML, CSS, and AJAX which can control the web pages on the client side of the browser. It is used in creating dynamic web pages.

Pros of JavaScript:

1. Versatility:

JavaScript can be integrated with other languages and can be used in a variety of applications. It can be used in any web pages without any file extensions.

2. Simplicity:

JavaScript is a simple language to learn and can be implemented easily.

3. Speed:

JavaScript can be executed with less server interaction. It saves server traffic because any code can be run without having contact with the server and waiting for its response.

Cons of JavaScript:

1. Reliance on end user:

JavaScript is interpreted differently by different browsers and it does not have any multiprocessor capabilities.

2. Security:

As the code can be executed in user’s computer, there may be a chance of any malicious activity on the code.

Categorized in: