Re: [whatwg/webidl] Suggestion: forbid ECMA-262/402-defined global names for some named constructs (Issue #1331)

CreateMethodProperty(<var>O</var>, <var>P</var>, <var>V</var>) used to just be:

1. Let <var>newDesc</var> be the PropertyDescriptor { [[Value]]: <var>V</var>, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }.
1. Return ? <var>O</var>.[[DefineOwnProperty]](<var>P</var>, <var>newDesc</var>).

But this was changed as part of the completion record rework in <https://github.com/tc39/ecma262/pull/2547>.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1331#issuecomment-1872831212
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1331/1872831212@github.com>

Received on Sunday, 31 December 2023 08:12:07 UTC