use Array.isArray() in _isArray() for type-check
Merge pull request #6 from garthenweb/fix-is-array

use Array.isArray() in _isArray() for type-check