Introducing Numbers

So far, we have been writing text to the console. In this lesson, we will see how to write numbers.

As you can see in the code sample, numbers are written without any quotes. Writing numbers to the console is not very exciting on its own, but we will do some more interesting things with numbers in the following lessons.

Run the code to see these numbers written out to the console.

Output (Console)