This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: | |
In this kata you have to implement a base converter, which converts between | |
arbitrary bases / alphabets. Here are some pre-defined alphabets: | |
var Alphabet = { | |
BINARY: '01', | |
OCTAL: '01234567', | |
DECIMAL: '0123456789', | |
HEXA_DECIMAL: '0123456789abcdef', |