mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-07 06:45:31 +02:00
Month names in zodiac-sign, Number.parseInt/isNaN
This commit is contained in:
@@ -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('');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user