Add semicolon for tdd exports
This commit is contained in:
@ -4,4 +4,4 @@ n < 0
|
||||
throw new TypeError('Negative numbers are not allowed!');
|
||||
})()
|
||||
: n <= 1 ? 1 : n * factorial(n - 1);
|
||||
module.exports = factorial
|
||||
module.exports = factorial;
|
||||
Reference in New Issue
Block a user