DEV Community

Discussion on: Array Methods That .pop()

Collapse
 
ecyrbe profile image
Info Comment hidden by post author - thread only visible in this permalink
ecyrbe • Edited

Hi em,.
An array is NOT a variable. An array is an object containing multiple values. An array can exist and not be bound to any variable.
Think of an array of arrays, there are no variables in the embedded array.
An array is a data structure, a variable is a programming binding to easily access data structures.

See this wikipedia article

Some comments have been hidden by the post's author - find out more