how to push value to new key in array javascript code example Example: javascript push array with key name arr["key"] = "value";