Skip to content

Commit 8a7be96

Browse files
committed
Fix non-standard syntax
1 parent 5f45b54 commit 8a7be96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Project-Euler/Problem014.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const getCollatzSequenceLength = (num, seqLength) => {
3131
}
3232
}
3333

34-
export const findLongestCollatzSequence = (limit = 1_000_000) => {
34+
export const findLongestCollatzSequence = (limit = 1000000) => {
3535
let startingPointForLargestSequence = 1
3636
let largestSequenceLength = 1
3737
for (let i = 2; i < limit; i++) {

0 commit comments

Comments
 (0)