tc39 / ecma262

Status, process, and documents for ECMA-262
https://tc39.es/ecma262/
Other
14.85k stars 1.27k forks source link

[Feat Request / Questionable Enhancement] - Object.defineProperties returns the object having its properties defined. #3324

Closed atengberg closed 1 month ago

atengberg commented 1 month ago

It is unclear to me where I can even lookup the motivation for not having it this way by default. Apologies if this is misplaced--seemed the closest to least resistance (anyone know if there is a reverse indexed web accessible interface for all preceding developments and their associated issues?)--and I am happy to remove this issue if there is a better place to post or the answer is not non-trivial.

-- I missed there was a Discourse link on the homepage, thank you.

ljharb commented 1 month ago

Object.defineProperty does return the object already.

For future reference, this question would be more appropriate in Matrix or on the Discourse, or on Stack Overflow, and not on the specification repo.