0
What is arrays
i tried to understand that, i cant. please help me
6 Answers
0
Arrays are objects which can store multiple values, each referenced by an index number, starting from zero.
+ 4
Hello, סתם משחק בכיף !
An array is an ordered set of data, not necessarily one type, which is identified by one or more indexes. The first type of array is static. It is present in all high-level languages.
0
Example
in JavaScript
let arr = [123,173,783,627];
this is an array
you can use the elements of an array by referencing it using square brackets
Console.log(arr[2]);
this prints 783
0
thank you.
tell me if i am right.
arrays are like int but you can store number of values in the same name
0
you can store all types of data in an array
0
example
string array in JavaScript
let arr = ["Cat","Dog","Snake"];