home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
14
home/ags/node_modules/array-includes/shim.js
generated
vendored
Normal file
14
home/ags/node_modules/array-includes/shim.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
var define = require('define-properties');
|
||||
var getPolyfill = require('./polyfill');
|
||||
|
||||
module.exports = function shimArrayPrototypeIncludes() {
|
||||
var polyfill = getPolyfill();
|
||||
define(
|
||||
Array.prototype,
|
||||
{ includes: polyfill },
|
||||
{ includes: function () { return Array.prototype.includes !== polyfill; } }
|
||||
);
|
||||
return polyfill;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue