+ 1

Why did they use var instead of arr for the array?

Can you use both var and arr to declare an array?

16th Feb 2019, 10:22 AM
Natale Pisano
Natale Pisano - avatar
1 Antwort
+ 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.
16th Feb 2019, 10:50 AM
Maneren
Maneren - avatar