convert the number in the heaxadecimal, binary , octal value in javascript
<script>
let decimal_numbers = prompt("Enter the number");
alert("binary no is "+ Number.parseInt(decimal_numbers,2));
alert("oct no is "+ Number.parseInt(decimal_numbers,8));
alert("hexa decimal no is "+ Number.parseInt(decimal_numbers,16));
</script>
Thanks you for commenting your questions. I will see question and respond you.