Month names in zodiac-sign, Number.parseInt/isNaN

This commit is contained in:
Daniel Odendahl Jr
2018-02-21 23:58:35 +00:00
parent 30b81c143e
commit 3c90676e30
14 changed files with 62 additions and 30 deletions
+1 -1
View File
@@ -47,6 +47,6 @@ module.exports = class BinaryCommand extends Command {
}
unbinary(text) {
return text.split(' ').map(str => String.fromCharCode(parseInt(str, 2))).join('');
return text.split(' ').map(str => String.fromCharCode(Number.parseInt(str, 2))).join('');
}
};