Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What will be the radix value of the parseInt() method when the string begins with any other value other than 0x and 0?

  2. A.

     8

    B.

     9

    C.

     10

    D.

     11

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The radix value will be 10 when the string of the method parseInt() begins with any other value other than 0x and 0.


Be The First To Comment