Introduction #

In JavaScript, an array is an ordered sequence of heterogeneous elements. In other words, an array can hold elements with different data types.

Note: Array is a special kind of object in javascript.

Initializing an Array #

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.