use string as key array js code example
Example: javascript string keys
// For string keys you have to use this
var Array = {}
// Not
var Array = []
// For string keys you have to use this
var Array = {}
// Not
var Array = []