[Solved] What is an array, what is the difference between array and objects and when and why use an array? [closed]
An array is a series of values with no defining keys: [‘one’, ‘two’, ‘three’] An object uses keys which have values which can be anything within the scope of the language. eg: boolean, integer, string, object, array or event functions: { one: { two: ‘three’ }, four: [‘five’, ‘six’], seven: ‘eight’, nine: 10, eleven: function … Read more