massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / get-map-iterator.js
index 07aeb9154f940378347a8f054a4eff87fd584cd3..a0d0c8929f1cca1119add55d913a429238533ef5 100644 (file)
@@ -1,7 +1,6 @@
-var IS_PURE = require('../internals/is-pure');
-var getIterator = require('../internals/get-iterator');
+var call = require('../internals/function-call');
 
-module.exports = IS_PURE ? getIterator : function (it) {
-  // eslint-disable-next-line no-undef -- safe
-  return Map.prototype.entries.call(it);
+module.exports = function (it) {
+  // eslint-disable-next-line es/no-map -- safe
+  return call(Map.prototype.entries, it);
 };