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.
What is the difference between Object Literals and Array Literals in JavaScript? I know
Share
Mozilla.org has very good explanation of the different literals with examples.