Way back when, I wrote a library to extend the
Array object to use with Internet Explorer 5.0, which still didn’t include the ECMAScript 3rd edition methods. I had also defined several other functions I found useful. Recently, I found this file and decided to update it with the new Mozilla methods. So, if you’re so inclined, take a look at the zArray library.
Update 2: Erik correctly pointed out that my implementation of
every() was faulty. I have fixed it and updated zArray to version 1.01.
Disclaimer: Any viewpoints and opinions expressed in this article are those of Nicholas C. Zakas and do not, in any way, reflect those of my employer, my colleagues, Wrox Publishing, O'Reilly Publishing, or anyone else. I speak only for myself, not for them.
Both comments and pings are currently closed.