JavaScript Tutorial JavaScript Resources
Python Java C++ C C# PHP R SQL DS Algo InterviewQ

JavaScript - Introduction

JavaScript is a high-level, lightweight, and interpreted programming language. Alongside HTML and CSS, JavaScript is one of the core technologies of the World Wide Web. All major web browsers have a dedicated JavaScript engine to execute the code on the user's device. JavaScript engines were originally used only in web browsers, but now core components of other software systems, most notably servers and a variety of applications.

As a multi-paradigm language, JavaScript supports event-driven, functional, and imperative programming styles. It has application programming interfaces (APIs) for working with text, dates, regular expressions, standard data structures, and the Document Object Model (DOM). Some important features of Java are given below:

Language Features:

Simple Language - JavaScript is easy to learn and its syntax is quite simple and easy to understand. The syntax of JavaScript is very much similar to Java. Although there are similarities between JavaScript and Java, including language name, syntax, and respective standard libraries, the two languages are distinct and differ greatly in design.

Interpreted Language - JavaScript is an interpreted language. It executes code line by line which enables easy debugging.

Light Weight Scripting Language - JavaScript is a lightweight scripting language as it is made for data handling at the browser only.

Handling Dates & Time - Unlike other programming languages, JavaScript has built-in functions to determine the date and time. Thus it is very easy to code only by using methods like getDate().

Object-Oriented Programming Language - JavaScript is a object-based scripting language. It provides predefined objects.

Client-Side Validations - JavaScript is very useful while using forms. It can be used to validate user input for errors and to make sure that user has entered the correct value. JavaScript validates the data before sending it to the server.

Platform Independent Language - Since browsers interpret JavaScript, it solves the problem of compilation and compatibility. Hence it can be interpreted on various operating systems including UNIX-based systems, Linux, Mac OS and various versions of Windows..