IsConstructor
André Bargull
andre.bargull at udo.edu
Wed Jun 11 08:04:01 PDT 2014
> [*] Proxies are oddballs here. All Proxies have a [[Construct]] method so
> the IsConstructor will always return true which is really not what you
> want. If IsConstructor was changed to check for a .prototype instead
> proxies would behave more inline with ordinary objects.
[[Construct]] is only attached to a proxy if the target has a
[[Construct]] internal method.
More information about the es-discuss
mailing list