Projekt

Obecné

Profil

Stáhnout (417 Bajtů) Statistiky
| Větev: | Revize:
1
'use strict';
2

    
3
var GetIntrinsic = require('../GetIntrinsic');
4

    
5
var $Array = GetIntrinsic('%Array%');
6

    
7
// eslint-disable-next-line global-require
8
var toStr = !$Array.isArray && require('../helpers/callBound')('Object.prototype.toString');
9

    
10
// https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
11

    
12
module.exports = $Array.isArray || function IsArray(argument) {
13
	return toStr(argument) === '[object Array]';
14
};
(36-36/109)