The toString() method converts a value to a string (string). For numbers, you can also specify the
number system (base) for conversion. The method does not modify the original object, but always returns a new
value in string format.
EXAMPLE
RESULT
We use cookies to ensure a better user experience and website functionality.