Handy Base Converter in Javascript

Just a simple handy javascript I found on stackoverflow for converting any arbitrary base for any precision. Whether it be base 10 to 64, base 2, base 32, etc. I plan to convert it to other language(s) someday for further use. Full credits of this code to the link above. This is mostly a self ...