Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. How many default number methods are available in JavaScript?

  2. A.

     5

    B.

     6

    C.

     7

    D.

     8

    View Answer

    Workspace

    Answer : Option C

    Explanation :

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


Be The First To Comment