zArray Update

Thanks to an earlier comment, I’ve updated the every() method of the zArray library to match what it should do (return true for an empty array). I also added a couple of other methods I found while digging through my old files: append(), which is logically equivalent to push(), and sum(), which returns the sum of all the items in the array (the sum can be a string or a number). The update brings zArray to version 1.1 and is available now in the Downloads section.

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.