We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a13da commit 99b3feeCopy full SHA for 99b3fee
js/util.js
@@ -12,7 +12,7 @@ function createRandomIntegerFromRangeGenerator (min, max) {
12
return function () {
13
let currentValue = getRandomInteger(min, max);
14
if (previousValues.length >= (max - min + 1)) {
15
- console.error('Перебраны все числа из диапазона от ' + min + ' до ' + max);
+ window.console.log(`Перебраны все числа из диапазона от ${min} до ${max}`);
16
return null;
17
}
18
while (previousValues.includes(currentValue)) {
0 commit comments