An array is NOT a variable. A variable is a binding between a symbol and a value. For instance an array Can exist without being bound to a variable.
See this wikipedia article
Comment hidden by post author - thread only visible in this permalink
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.
Thanks for the post.
You say in the opening paragraph that an "array.. is a unique variable".
An array is not a "variable" it is a global object.
Thanks for your feedback. An array is a variable containing multiple values but yes the type is Object 😊
Hi em,
An array is NOT a variable. A variable is a binding between a symbol and a value. For instance an array Can exist without being bound to a variable.
See this wikipedia article
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