javascript string keys

JavaScript
// For string keys you have to use this
var Array = {}

// Not

var Array = []


Source

Also in JavaScript: