Add semicolon for tdd exports
This commit is contained in:
@ -2,4 +2,4 @@ const isArmstrongNumber = digits =>
|
||||
(arr => arr.reduce((a, d) => a + parseInt(d) ** arr.length, 0) == digits)(
|
||||
(digits + '').split('')
|
||||
);
|
||||
module.exports = isArmstrongNumber
|
||||
module.exports = isArmstrongNumber;
|
||||
Reference in New Issue
Block a user