Javascript Number Type Question 4

Introduction

What is the output of the following code?


let a = 100;
console.log( a.toString(10) );    
console.log( a.toString(2) );    
console.log( a.toString(16) );   


100
1100100
64



PreviousNext

Related