paradiego
This commit is contained in:
14
node_modules/array-includes/shim.js
generated
vendored
Normal file
14
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;
|
||||
};
|
||||
Reference in New Issue
Block a user