summaryrefslogtreecommitdiffstats
path: root/node_modules/es-abstract/2019/IsArray.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es-abstract/2019/IsArray.js')
-rw-r--r--node_modules/es-abstract/2019/IsArray.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/es-abstract/2019/IsArray.js b/node_modules/es-abstract/2019/IsArray.js
deleted file mode 100644
index 7b25f37..0000000
--- a/node_modules/es-abstract/2019/IsArray.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-
-var GetIntrinsic = require('../GetIntrinsic');
-
-var $Array = GetIntrinsic('%Array%');
-
-// eslint-disable-next-line global-require
-var toStr = !$Array.isArray && require('../helpers/callBound')('Object.prototype.toString');
-
-// https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
-
-module.exports = $Array.isArray || function IsArray(argument) {
- return toStr(argument) === '[object Array]';
-};