'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; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.github | Folder | 0755 |
|
|
test | Folder | 0755 |
|
|
.editorconfig | File | 276 B | 0644 |
|
.eslintrc | File | 425 B | 0644 |
|
.nycrc | File | 139 B | 0644 |
|
CHANGELOG.md | File | 6.64 KB | 0644 |
|
LICENSE | File | 1.05 KB | 0644 |
|
README.md | File | 3.3 KB | 0644 |
|
auto.js | File | 36 B | 0644 |
|
implementation.js | File | 1.27 KB | 0644 |
|
index.js | File | 779 B | 0644 |
|
package.json | File | 2.72 KB | 0644 |
|
polyfill.js | File | 301 B | 0644 |
|
shim.js | File | 345 B | 0644 |
|