Q. What is the function of the parseInt() method?
β
Correct Answer: (B)
Parses a string and returns an integer
Explanation: The function parseInt() method parses a string and returns an integer.