var for key name in object js code example Example: js variable for key obj { [yourKeyVariable]: someValueArray, }