SortedArray in JavaScript?

Kris Kowal kris.kowal at cixar.com
Sun Aug 11 12:05:29 PDT 2013


On Sat, Aug 10, 2013 at 3:19 AM, Forbes Lindesay <forbes at lindesay.co.uk>
wrote:
> I doubt you want to let it be indexed using `[]` and I see little reason
why it would need to be built into the language.  It would make far more
sense as a nice little library, which creates a much smaller maintenance
burden.

For example,
https://github.com/montagejs/collections/blob/master/sorted-array.js
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130811/1fe79c50/attachment.html>


More information about the es-discuss mailing list