1. Parses a datatype and stores in an integer
  2. Parses a string and returns an integer
  3. Parses an integer and returns a string
  4. None of the mentioned
4 views

1 Answers

Answer: Option 2

The function parseInt() method parses a string and returns an integer.

4 views

Related Questions