diff --git a/ext/js/language/translator.js b/ext/js/language/translator.js index 41f49bc0f4..afba4e1386 100644 --- a/ext/js/language/translator.js +++ b/ext/js/language/translator.js @@ -1322,7 +1322,7 @@ export class Translator { * @returns {Generator, void, void>} */ *_generateArrayVariants(arrayVariants) { - const variantKeys = Array.from(arrayVariants.keys()); + const variantKeys = [...arrayVariants.keys()]; const entryVariantLengths = []; for (const key of variantKeys) { const entryVariants = /** @type {unknown[]} */ (arrayVariants.get(key)); diff --git a/test/options-util.test.js b/test/options-util.test.js index b8c77474c6..e40f2cdf40 100644 --- a/test/options-util.test.js +++ b/test/options-util.test.js @@ -599,7 +599,7 @@ function createOptionsUpdatedTestData1() { } ], profileCurrent: 0, - version: 25, + version: 26, global: { database: { prefixWildcardsSupported: false