Proxy [[Construct]]

Tom Schuster tom at schuster.me
Sun Jan 18 15:21:11 PST 2015


The Proxy [[Construct]] method 9.5.14, has the step 7.a
"If target does not have a [[Construct]] internal method, throw a TypeError
exception."

But a proxy only has a [[Construct]] internal method when the target has a
[[Construct]] internal method. I am not aware that an object can lose an
internal method during runtime.
[[Call]] doesn't have a check like this either. Could this check be turned
into an assert?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150119/8f1f029a/attachment.html>


More information about the es-discuss mailing list