...

/

Computed Object Keys

Computed Object Keys

using string keys to access their corresponding objects, and behavior of the toString method in Javascript

In JavaScript, objects are associative arrays (hashmaps) with String keys.

It is now possible to create an object property inside the object literal using the bracket ...