X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fcore-js%2Fmodules%2Fesnext.set.find.js;h=987c17fe8ef9ad299a5a883c5b42829db225c6c9;hb=3be0a9efc698a9570a44456009afc6014812625a;hp=fcfef511ea1c16d30f88189217a200bd8e95389c;hpb=3aba54c891969552833dbc350b3139e944e17a97;p=dotfiles%2F.git diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.find.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.find.js index fcfef511..987c17fe 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.find.js +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/modules/esnext.set.find.js @@ -12,9 +12,9 @@ $({ target: 'Set', proto: true, real: true, forced: IS_PURE }, { find: function find(callbackfn /* , thisArg */) { var set = anObject(this); var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - return iterate(iterator, function (value) { - if (boundFunction(value, value, set)) return iterate.stop(value); - }, undefined, false, true).result; + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(iterator, function (value, stop) { + if (boundFunction(value, value, set)) return stop(value); + }, { IS_ITERATOR: true, INTERRUPTED: true }).result; } });