first
This commit is contained in:
10
node_modules/core-js/es/instance/with.js
generated
vendored
Normal file
10
node_modules/core-js/es/instance/with.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
||||
var method = require('../array/virtual/with');
|
||||
|
||||
var ArrayPrototype = Array.prototype;
|
||||
|
||||
module.exports = function (it) {
|
||||
var own = it['with'];
|
||||
return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype['with'])) ? method : own;
|
||||
};
|
Reference in New Issue
Block a user