Which JavaScript method is used to get a number as a string?

59. Which JavaScript method is used to get a number as a string?

  1. toString()
  2. intToString()
  3. parseInteger()
  4. All of the above

Answer: A) toString()

Explanation:

The JavaScript method toString() is used to get a number as a string.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.