valueOf() method
This method will allow you to convert the different value types into the string.
Method implementation-
Syntax-
Example-
Output-
Example-
Output-
This method will allow you to convert the different value types into the string.