Skip to content

Commit 42cec88

Browse files
authored
Replaced let with const
1 parent 09f784e commit 42cec88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/FindLcm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const findLcm = (num1, num2) => {
2424
}
2525

2626
// Check to see whether num1 or num2 is larger.
27-
let maxNum = Math.max(num1, num2)
27+
const maxNum = Math.max(num1, num2)
2828
let lcm = maxNum
2929

3030
while (true) {

0 commit comments

Comments
 (0)