lint: added missing keyword

This commit is contained in:
RiverTwilight
2023-01-05 10:20:19 +08:00
parent 7cd1347b44
commit 8031e0e2c5
2 changed files with 42 additions and 1 deletions

View File

@ -5,7 +5,7 @@
*/
function randomNumbers(n) {
nums = Array(n);
let nums = Array(n);
for (let i = 0; i < n; i++) {
nums[i] = i + 1;
}