esvalid
esvalid copied to clipboard
allow duplicate property names in object literals
In ES5, they were restricted in strict mode, but ES6 allows them again. Rationale had to do with dynamic property names.
Except for __proto__, apparently: https://esdiscuss.org/topic/question-regarding-duplicate-proto-properties