Skip to content

Commit 53bef6b

Browse files
committed
Update Collatz-conjecture error wording
1 parent 0907d03 commit 53bef6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎exercises/practice/collatz-conjecture/.docs/instructions.append.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ If `n` is not a positive integer, stop the program from being executed further a
77
In JavaScript, this can be done using the `throw` statement.
88

99
```javascript
10-
throw new Error('Only positive numbers are allowed');
10+
throw new Error('Only positive integers are allowed');
1111
```

0 commit comments

Comments
 (0)