array in js
The array data type is used to represent a collection of values. An array can be created using the square brackets [] syntax or the new Array() syntax. For example:
Javascript provides a data type specifically for storing sequences of values. It is called an array and is written as a list of values between square brackets, separated by commas.