Skip to content

Commit 128f435

Browse files
author
syedjafer
committed
Resolving Commits
1 parent 954624a commit 128f435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Maths/CollatzSequence.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ export function collatz (n) {
2626
steps.push(n)
2727
}
2828

29-
return { result: n, steps }
29+
return { result: n, steps: steps }
3030
}

0 commit comments

Comments
 (0)