IsConstructor
Domenic Denicola
domenic at domenicdenicola.com
Wed Jun 11 11:09:52 PDT 2014
From: Allen Wirfs-Brock <allen at wirfs-brock.com>
> There are a few uses of IsConstructor in some Array methods that deal with subtle backwards compat issues that are a result of extending Array to be subclassable. These are very unique cases and I don't think you should look at them as establishing a pattern that should be followed in other situations.
Can you expand on these a bit more? What would happen if they threw when used on non-constructors?
More information about the es-discuss
mailing list