From d1291f67551c58168af43698a359cb5ddfd266b0 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 3 Nov 2016 01:33:53 +0100 Subject: node_modules --- node_modules/isarray/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'node_modules/isarray/index.js') diff --git a/node_modules/isarray/index.js b/node_modules/isarray/index.js index 5f5ad45d4..a57f63495 100644 --- a/node_modules/isarray/index.js +++ b/node_modules/isarray/index.js @@ -1,3 +1,5 @@ +var toString = {}.toString; + module.exports = Array.isArray || function (arr) { - return Object.prototype.toString.call(arr) == '[object Array]'; + return toString.call(arr) == '[object Array]'; }; -- cgit v1.2.3