Examveda
Examveda

How many default number methods are available in JavaScript?

A. 5

B. 6

C. 7

D. 8

Answer: Option C

Solution(By Examveda Team)

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()

This Question Belongs to Javascript >> Parsing, Benchmarking And Logging

Join The Discussion

Related Questions on Parsing, Benchmarking and Logging