Name the function, for use in debugging backtraces.
Array#forEach iterators take the array itself as the third property.
Caching hasOwnProperty so it doesn't need to be looked up on every iteration.
Merge pull request #3 from ljharb/tweaks

Tweaks