Computer Science, asked by shreyaroy078, 1 year ago

how arrays can be created in html

Answers

Answered by Atif8056
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:

Similar questions