Projekt

Obecné

Profil

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

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

    
5
var originalGetProto = GetIntrinsic('%Object.getPrototypeOf%', true);
6
var $ArrayProto = GetIntrinsic('%Array.prototype%');
7

    
8
module.exports = originalGetProto || (
9
	// eslint-disable-next-line no-proto
10
	[].__proto__ === $ArrayProto
11
		? function (O) {
12
			return O.__proto__; // eslint-disable-line no-proto
13
		}
14
		: null
15
);
(12-12/26)