convertir hexadecimal a decimal js

yourNumber = parseInt(hexString, 16);
Parotay