Learn JavaScript
Type Conversions
15.1
Lesson

Converting to String

We can use either String() or toString() to convert a non-string value to a string.

Number to String

Boolean to String

Other data types to String