Javascript String ToString() Function

The tostring() method of string object returns a string representation of a string. Use it for example to get string representation.

Syntax

Javascript String ToString() Function Example