0

Similar to Arrays?

Could you reference objects by arrays?

23rd Apr 2019, 1:53 PM
Joseph Daniel
Joseph Daniel - avatar
1 Resposta
+ 1
Arrays are just regular objects. In Javascript, there are only 6 data types defined – the primitives (boolean, number, string, null, undefined) andobject (the only reference type). ... You can use any name as property for anobjects, including numbers or even empty string.
23rd Apr 2019, 2:26 PM
Alessio Benvenuti
Alessio Benvenuti - avatar