?
How many default number methods are available in JavaScript?
Answer & Solution
Correct Answer:
Option
C
There are a total of 7 default number methods in JavaScript namely :
1. constructor() 2. toExponential() 3. toFixed() 4. toLocaleString() 5. toPrecision() 6. toString() 7. valueOf()
1. constructor() 2. toExponential() 3. toFixed() 4. toLocaleString() 5. toPrecision() 6. toString() 7. valueOf()
Join the Discussion
Login to post a comment or share your explanation.
Login