JavaScript Object Literals & Array Literals

前端 未结 4 1270
忘了有多久
忘了有多久 2020-12-03 08:38

What is the difference between Object Literals and Array Literals in JavaScript? I know it has something to do with the length method but i don\'t fully understand it.

4条回答
提交回复
热议问题