How many default number methods are available in JavaScript?
(a) 5
(b) 6
(c) 7
(d) 8
(a) 5
(b) 6
(c) 7
(d) 8
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.
Right answer is (c) 7
To elaborate: There are a total of 7 default number methods in JavaScript namely:
constructor()
toExponential()
toFixed()
toLocaleString()
toPrecision()
toString()
valueOf()