What is JavaScript ?

Photo by James Harrison on Unsplash

Programming Language

I think, I don’t have to describe it in detail the heading explaining it well. It means the language which we used to make programs. The programs which give us various type of output according to input or without input.

ECMAScript

The ECMAScript is not a programming language itself rather than that it defines standards for JavaScript. Here is link to learn more about it ECMAScript.

High-Level Programming Language

The language which is not very close to machine like low-level programming languages. In high-level language we get an abstraction of working with computer rather than detailed working with computer.

Just-In-Time compiled

In programming languages like JavaScript and Python, they compile code at the time of execution. That’s why we don’t have to compile the codes before execution like in c and c++.

Multiple paradigm

Multiple paradigm is based on how many features implemented in a programming language like procedural, object-oriented. JavaScript has both in imperative way.

Curly-bracket syntax

JavaScript follows curly-brackets instead of indentation. That’s it this is the explanation.

Dynamic typing

Dynamic type checking is the process of verifying the type safety of a program at runtime. This means you don’t have to define that variable can/must store string, integer or something else. The language will take care of it dynamically.

Object-Orientation

Object-oriented programming (OOP) is a programming paradigm based on the concepts of “object”, which can contain data and code: data in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).

First-class functions

In JavaScript, we can pass functions to a function as an argument, and we can return a function. Mainly JavaScript is a functional programming language, It introduced classes (OOP concept) in ES6 (ECMAScript 6) syntax.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store