Arrays in JavaScript
Introduction to arrays
An array is a data type that stores the data contiguously. Generally, arrays are used to store collections of different types such as numbers, strings, objects, etc.
The syntax to declare an array:
const array1=[Element1,Eleme...
vigneshsadhu.hashnode.dev4 min read