Arrays in JavaScript
What is an Array?
Array is a data structure that is used to store a collection of multiple items in a single variable. The collection can have any type of data such as string, number, boolean, etc.
Example
const array1 = ["Hello", 10, 20, "World", tr...
nisarg18.hashnode.dev7 min read