An array is a collection of values that can be accessed by index. Learn how to create, read, update, insert, remove, and loop through arrays in different programming languages. Learn what an array is , how to declare, access, update, add, remove, loop and sort arrays in JavaScript. An array is a data structure that stores a fixed-size collection of elements sequentially in memory. Array (data structure) In computer science, an array is a data structure consisting of a collection of elements (values or variables), of same memory size, each identified by at least one array index or key, a collection of which may be a tuple, known as an index tuple. In general, array is mutable and linear collection of same data type elements. An array is a collection of items of the same variable type that are stored at contiguous memory locations. It is one of the most popular and simple data structures used in programming. Basic terminologies of Array Array Element: Elements are items stored in an array . Array Index: Elements are accessed by their indexes. Indexes in most of the programming languages start from 0. Memory representation of Array In an array , all the elements or their references are stored in contiguous memory ...