Re: [heycam/webidl] Can we use ObjectCreate in object creation? + other editorial tweaks (#655)

See also #657. I happen to think that we should stay away from ObjectCreate, if only because ES doesn't do it with any of its exotic objects. For example, [ArrayCreate](https://tc39.github.io/ecma262/#sec-arraycreate) doesn't use ObjectCreate but instead has something like

> 5. Let *A* be a newly created Array exotic object.

even though arrays are basically plain ordinary objects, its [[DefineOwnProperty]] being the only difference.

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

Received on Monday, 25 February 2019 19:02:11 UTC