Home »
MCQs »
JavaScript MCQs
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?
- toString()
- intToString()
- parseInteger()
- All of the above
Answer: A) toString()
Explanation:
The JavaScript method toString() is used to get a number as a string.