About Array.of()

Kevin Smith khs4473 at gmail.com
Mon Aug 27 11:38:05 PDT 2012


Isn't there a name that we already use for alternative constructors: create?

    let object = Object.create(null);
    let array = Array.create("A", "B", "C");

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120827/98b24aa5/attachment.html>


More information about the es-discuss mailing list