Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Array.isArray instead of instanceof
`instanceof` does not always return true for an array even if `array.isArray()` return true and `Object.prototype.toString()` returns `[Object Array]` http://blog.niftysnippets.org/2010/09/say-what.html#instanceof https://stackoverflow.com/questions/28779255/is-instanceof-array-better-than-isarray-in-javascript Fixes #124
- Loading branch information