convert number base 16 to 10 javascript code example Example: javascript base 10 to base 2 parseInt(string, radix)