Arrays are used to store multiple values in a single variable. It is often used when we want to store a list of elements and access them by a single variable. In JavaScript, an array can contain elements of different datatypes 🤩 Here is an example: ...

Markdown supported · ⌘↵ to post
No responses yet.