Data Types in JavaScript

Data Types in JavaScript A variable can hold a lot of types of data type like string, int, bool etc in JavaScript. Syntax: var <variable_name> = <value> ; var is a key word in JavaScript to define any type of variable.…

How to Use Arrays in JavaScript

Arrays in JavaScript Arrays are used to store multiple data values of the same type in programming languages but in JS we can also save data in an array of different types because it’s not a typed language. Syntax: