We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a7f26b commit ee7231bCopy full SHA for ee7231b
lib/polyfills.js
@@ -1,9 +1,8 @@
1
'use strict';
2
3
/* polyfills for Node 4.8.x users */
4
-/* eslint no-extend-native: off, global-require: off */
5
6
// [email protected] uses [].includes
7
-if (!Array.prototype.includes) {
8
- Array.prototype.includes = require('array-includes');
9
-}
+const includes = require('array-includes');
+
+includes.shim();
0 commit comments