I know there's no "dictionary" in Javascript. So the key can be "more than a string" . But how to explain the result "[index] = index"
?
a={["abc"]:123}
a["abc"]==123
true
Why it works?
I've update the statement above. Sorry for misunderstanding.