paradiego
This commit is contained in:
13
node_modules/array-includes/polyfill.js
generated
vendored
Normal file
13
node_modules/array-includes/polyfill.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
var implementation = require('./implementation');
|
||||
|
||||
module.exports = function getPolyfill() {
|
||||
if (
|
||||
Array.prototype.includes
|
||||
&& Array(1).includes(undefined) // https://bugzilla.mozilla.org/show_bug.cgi?id=1767541
|
||||
) {
|
||||
return Array.prototype.includes;
|
||||
}
|
||||
return implementation;
|
||||
};
|
||||
Reference in New Issue
Block a user