Array extensions

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: ** I really wish I had noticed that Erik had already done something similar…really could’ve saved me the time. Oh well.

**Update 2: ** Erik correctly pointed out that my implementation of every() was faulty. I have fixed it and updated zArray to version 1.01.

Master JavaScript Promises

Free E-book - Understanding JavaScript Promises

What You'll Learn

  • Promise fundamentals and concepts
  • Real-world promise implementations
  • Best practices and patterns
  • Error handling techniques

Demystify JavaScript promises with practical examples and expert insights.

Download Your Free Copy

The community edition arrives in your inbox within minutes.