What is JavaScript ?

Danimai
2 min readMar 19, 2021
Photo by James Harrison on Unsplash

The question before we start anything is that what we are starting with.

As we search for JavaScript Wikipedia gives us a definition something like this.

JavaScript (/ˈdʒɑːvəˌskrɪpt/), often abbreviated as JS, is a programming language that conforms to the ECMAScript specification.JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.

First we are going to break it down. In definition, we got terms like programming language, ECMAScript, high-level, just-in-demand compiled, multi-paradigm, curly-bracket syntax, dynamic typing, prototyping-based object-orientation and first-class functions.

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).

This is an abstract from Wikipedia.

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.

— Thank You

--

--