+ 1
Why did they use var instead of arr for the array?
Can you use both var and arr to declare an array?
1 ответ
+ 2
In javascript you have to use var (or let and const in ES6) keyword to make any variable, then goes name which van be anything which goes by the naming rules.