For a little extra context here on why the overwriting occurs. Object keys can only be one of two things a String or a Symbol. All three definitions above result in a the String'1' being used for the key since anything that isn't a Symbol is coerced into a String.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For a little extra context here on why the overwriting occurs. Object keys can only be one of two things a
Stringor aSymbol. All three definitions above result in a theString'1'being used for the key since anything that isn't aSymbolis coerced into aString.