Discussion :: Javascript - CS
- What is the function of the parseInt() method?
A.
Parses a datatype and stores in an integer |
B.
Parses a string and returns an integer |
C.
Parses an integer and returns a string |
D.
None of the mentioned |
Answer : Option B
Explanation :
The function parseInt() method parses a string and returns an integer.
Be The First To Comment