There was an error while loading. Please reload this page.
Collatz-conjecture
1 parent 0907d03 commit b4166c4Copy full SHA for b4166c4
1 file changed
exercises/practice/collatz-conjecture/.docs/instructions.append.md
@@ -7,5 +7,5 @@ If `n` is not a positive integer, stop the program from being executed further a
7
In JavaScript, this can be done using the `throw` statement.
8
9
```javascript
10
-throw new Error('Only positive numbers are allowed');
+throw new Error('Only positive integers are allowed');
11
```
0 commit comments