I’m just wondering what it means to attach a number as a parameter to the toString() method
E.g. obj.toString(10);
I googled and i have never seen a parameter before.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The additional parameter works only for
Number.prototype.toStringto specify the radix (integer between 2 and 36 specifying the base to use for representing numeric values):