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.

Understanding JavaScript Promises E-book Cover

Demystify JavaScript promises with the e-book that explains not just concepts, but also real-world uses of promises.

Download the Free E-book!

The community edition of Understanding JavaScript Promises is a free download that arrives in minutes.