Converting to Strings

In this lesson, we'll learn how to convert various data types to strings. Let's begin!

We'll cover the following...

Almost all values (including reference values and primitive values) have a toString() method that can be used to convert the value to a string. If the value is a Number, you can pass an integer argument to toString(), which represents the base of the conversion. Its ...