Skip to content

Instantly share code, notes, and snippets.

@sAbakumoff
Created August 16, 2016 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sAbakumoff/cd7b684a9b59ae6960c7334de2f6786f to your computer and use it in GitHub Desktop.
Save sAbakumoff/cd7b684a9b59ae6960c7334de2f6786f to your computer and use it in GitHub Desktop.
var toString = {}.toString;
module.exports = Array.isArray || function (arr) {
return toString.call(arr) == '[object Array]';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment