A Symbol can be explicitly converted to a string using __________ method.

  • toString()
  • valueOf()
  • convertToString()
  • description()
The correct method to explicitly convert a Symbol to a string is toString(). The toString() method is a built-in method for Symbol instances, which returns the string representation of the Symbol.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *