From e645296b1b5e993355844f2cb2b026b87d05759e Mon Sep 17 00:00:00 2001 From: siikamiika Date: Fri, 14 Feb 2020 01:12:28 +0200 Subject: [PATCH] fix Map set in Translator.buildTermFrequencies --- ext/bg/js/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js index 81c2464b..6d5dd50a 100644 --- a/ext/bg/js/translator.js +++ b/ext/bg/js/translator.js @@ -460,7 +460,7 @@ class Translator { termList = []; expressionsUnique.push(expression); termsUnique.push(termList); - termsUniqueMap[expression] = termList; + termsUniqueMap.set(expression, termList); } termList.push(term);