Hi, all. I'm revisiting details of the ECMAScript specification, and I see an ambiguity that I'd like clarification on.
Step 2.e.i is where I'm unclear. It says to assert the receiver doesn't have a property P... but 2.c says receiver.getOwnProperty. 2.e.i doesn't say "own property", meaning we're asserting the receiver can't inherit the property either.
The receiver isn't used in the recursive algorithm until the recursion is over at 2.b.
I ran across this in my es-membrane rewrite, and the historical version of the ECMAScript standard (7.0) has the same vagueness without the assert.
Can someone get back to me on this, please?
-- "The first step in confirming there is a bug in someone else's work is confirming there are no bugs in your own."
-- Alexander J. Vincent, June 30, 2001