Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What will be the radix value of the parseInt() method when the string begins with 0?

  2. A.

     6

    B.

     7

    C.

     8

    D.

     9

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    If the string begins with “0”, the radix is 8 (octal). This feature is deprecated.


Be The First To Comment