Skip to content

Commit 4106684

Browse files
authored
Update 25-times-tables.js
1 parent 42a7d9c commit 4106684

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

5-arrays/25-times-tables.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
const multiple = 5;
55
const numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
66

7-
for (let i = 0; i < numbers.length; i++) {
8-
console.log(multiple + " x " + i + " = " + multiple * i);
9-
}
7+
for(let i = 0; i < numbers.length; i++){
8+
console.log(multiple + " x " + numbers[i] + " = " + multiple * numbers[i])
9+
}

0 commit comments

Comments
 (0)