||View All MessagesBack to WebFX|
Since Array extends Object you get the Object interface for free. Don't use an Array as the base here but use Object. People have a tendency to misuse this feature of JS. Use an object literal or the long form like you wrote, except that you want to use new Object instead.|
See Jude's reply as well.