It is one of the 3 languages all web developers must learn:
The items in the Array are nothing more than the properties of that objects. You can use any name as a property for an object, including numbers or even empty strings. However, the property name should be a valid identifier.
For Creating an array:
const array_name = [item1, item2, ...];
Using “new” keyword
const arr = new Array("A", "B", "C");
There is no need to use "new" Array (). For simplicity, readability and execution speed, use the first method to create an array.
Knowledge2life 1,Knowledge2life 2