JavaScript Base 10 ke Base 2

parseInt(string, radix)
The little dog