ohctechv3/.svn/pristine/75/75d076b8aedff6e749dcc19eb07ba3c0f554aadd.svn-base
2024-10-28 15:03:36 +05:30

14 lines
301 B
Plaintext

'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;
};