how arrays can be created in html
Answers
Answered by
0
Arrays are lists of any kind of data, including other arrays. Each item in the array has an index — a number — which can be used to retrieve an elementfrom the array.

The indices start at 0; that is, the first element in the array has the index 0, and subsequent elements have incrementally increasing indices, so the last element in the array has an index one less than the length of the array.
In JavaScript, you create an array using the array-literal syntax:

The indices start at 0; that is, the first element in the array has the index 0, and subsequent elements have incrementally increasing indices, so the last element in the array has an index one less than the length of the array.
In JavaScript, you create an array using the array-literal syntax:
Similar questions
English,
7 months ago
Social Sciences,
7 months ago
Science,
7 months ago
Science,
1 year ago
Math,
1 year ago