Array

An array is an ordered, random-access collection of data. This data can be either primitive or object, depending on the coding language. 

Arrays commonly organize data within an app. Each piece of data within an array has a number assigned to it, called a numeric index, which allows access to the data in the array. Javascript arrays start at 0 and can be manipulated with instance and static methods. 

There are three types of indexing in an array:

  • Zero-based indexing — an array where the first element is indexed by a subscript of 0
  • One-based indexing — an array where the first element is indexed by a subscript of 1
  • N-based indexing — allows for the first index of the array to be any value, including negative values and other scalar data types 

Arrays can contain any data type, including integers, strings, and classes.

Webflow for developers has all the tools you'll need to start working with arrays, from hosting your website to storing data.

Other glossary terms

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Hmm…we couldn’t find any results. Try a different search term or reset the filter.
Reset the filter
Load more