using variable for object key javascript code example Example: js variable for key obj { [yourKeyVariable]: someValueArray, }