Tell me how do you convert numbers between different bases in JavaScript?

Submitted by: Muhammad
Usually to convert the number in their different bases use the parseInt() function. This function parses a string and returns a function. The first parameter is the number and the second parameter is the base to be changed. For example: to covert a hexadecimal number to a decimal number we use this function as (“3F”, 16).
Submitted by: Muhammad

Read Online Web Developer & Designer Job Interview Questions And Answers