Q. Which built-in method parses a string to an integer?
β
Correct Answer: (A)
parseInt()
Explanation: parseInt() converts a string to an integer.