I am guessing that we all know less and more about JavaScript. Still, I am giving a little bit of an introduction of JS below. Then we will go through some detailed things about JS that you might or might not know.

Photo by Artur Shamsutdinov on Unsplash


JavaScript (JS) is a programming language. In detail, we can say JS is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. It is also a scripting language for web pages. As it is an interpreted language, that’s why it does not need any compilation before running the code. An interpreter reads the code and runs…

In today’s story, I will talk about the Virtual-DOM of React and JSX in short. Also, a bonus part is here at the end too.

React Virtual-DOM

React is a JavaScript library. DOM means Document Object Model. It is a representation of structured HTML elements which is present in the webpage. Virtual-DOM is a copy of DOM, and it’s lightweight.

How It Works

The Component Tree structure for the above DOM is created internally by React. When we make a component, react builds the tree of it and adds it to DOM according to its parent. So when the DOM starts to work, first of…

Today we are going to learn more about JavaScript (JS). I will cover the topic of data types, event loop, error handling, and some ES6. Also, there is a bonus section today at the end of the blog.

Data Types

There are different types of data in JS. They are -

Number — 1,2,3,4

Strings — “hello”, “world”

Boolean — true, false

Undefined — undefined

null — null

Object — {index: value}, [value1, value2, value3]

Function — functionName()

To get to know the type of data there is function in JS which is typeof(value). For example,

typeof(1); // numbertypeof(‘1’)…

JavaScript (js) is a dynamic client-side script language. It is also used on the server-side by Nodejs. Don’t get confused by thinking that Java and JavaScript are the same. Though they are from Oracle still they are different. There are many types in js. They are:

  • Number
  • String
  • Boolean
  • Symbol
  • Object
  1. Function
  2. Array
  3. Date
  4. RegExp
  • null
  • Undefined

Today I am going to write a little bit about Number, String and Array in detail.


A number is a simple wrapper object for representing and manipulating numbers like 5 or 0.5. You can express numbers by using letters too. …

Al-Junaed Islam

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