Mark S. Miller (2015-01-28T06:39:31.000Z)
d at domenic.me (2015-01-28T19:11:44.578Z)
On Tue, Jan 27, 2015 at 9:45 PM, Mark S. Miller <erights at google.com> wrote: > Exactly correct. I didn't realize until reading your reply is that this is > all that's necessary -- that it successfully covers all the cases I was > thinking about without any further case division. Here's another option, not clearly better or worse: [[DefineOwnProperty]] (P, Desc) 1. let R be the result of calling the [[DefineOwnProperty]] internal method of *W* with arguments *P* and *Desc*. 2. If *desc*.[[Configurable]] is present and *false*, then throw a *TypeError* exception. 3. return R. This is exactly like your solution, but with the order of the two steps switched. Perhaps the next breakage we see will tell us which of these to choose. If both are web compatible, then we need only pick which one we like better.