IsConstructor

Domenic Denicola domenic at domenicdenicola.com
Wed Jun 11 10:37:20 PDT 2014


It's also deceptive: it makes you think `Array.of` and `Array.from` are functions, when in reality they are definitely methods.
________________________________________
From: es-discuss <es-discuss-bounces at mozilla.org> on behalf of C. Scott Ananian <ecmascript at cscott.net>
Sent: Wednesday, June 11, 2014 13:31
To: Rick Waldron
Cc: EcmaScript
Subject: Re: IsConstructor

Saving 12 bytes does not seem like an "obvious end-programmer benefit"
to me.  It seems like unnecessary and premature optimization.
 --scott
_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org
https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list