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...

Markdown supported · ⌘↵ to post
No responses yet.