getOwnPropertyDescriptor side effects
raul.mihaila at gmail.com
Tue Jan 10 19:10:00 UTC 2017
Do you mean that an implementation is allowed to return an exotic object
from the Error constructor?
The Error constructor calls OrdinaryCreateFromConstructor in step 2.
According to its definition, OrdinaryCreateFromConstructor creates an
Not returning an ordinary object from the Error constructor is
non-conformant and, assuming that conformance is a requirement for V8, it's
Just because an implementation adds a non-standard property to an ordinary
object, even if its value is an exotic object, it doesn't turn the ordinary
object into an exotic object.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss