Javascript

Data Types in JavaScript

In this article, we look at the JavaScript Data Types. JavaScript is a loosely typed dynamic language. It is loosely typed because you will never specify a data type of a variable. It is a dynamic language because you can assign any value to any variable whenever you wish to. But it does not mean that JavaScript does not have data types. We do not need to specify the data type, But the JavaScript interpreter interprets the data type of the variable and generates the executable code accordingly.

Data Types in JavaScript Read More »

JavaScript Bigint

Infinity BigInt vs number   The bigint is a new primitive data type in JavaScript. It was introduced in ES11 version of JavaScript. it represents the whole number. It can hold numbers larger than 253 – 1. The BigInt uses the arbitrary-precision arithmetic. This article covers how to use bigInt, the arithmetic operations allowed, how to

JavaScript Bigint Read More »

Scroll to Top