так попробуй
function numTransRavno(sVarOneTwo) {
let ArrayTranslMax = [];
let varOne, varTwo, numVar;
for (let i = minSing; i < maxSing + 1; i++) {
let singRan = ArraySing[i];
varOne = varTwo = numVar = 0;
for (let j = 1; j < sVarOneTwo; j++) {
varOne = j;
for (let s = 1; s < sVarOneTwo; s++) {
varTwo = s;
numVar = eval(varOne + singRan + varTwo);
if (Number.isInteger(numVar) && numVar > 0) {
ArrayTranslMax.push(varOne + "," + singRan + "," + varTwo + "," + "=" + "," + numVar);
}
}
}
}
console.log(ArrayTranslMax);
}