`for` loops on arrays are much more efficient, but `for (key in table)` plus `hasOwnProperty` requires two hash lookups. Lodash and Underscore's `each` both seem faster, although it looks like `Object.keys(table).forEach` is the way to go:
http://jsperf.com/for-in-vs-underscore-each/2

I'll switch to the `Object.keys().forEach` form, which is recommended in the JSLint instructions, too:
http://www.jslint.com/lint.html#forin