write a javascript function to convert a number from one base to another code example Example: javascript base 10 to base 2 parseInt(string, radix)