Read-Only Mode: Your progress will not be saved, and certain functions are unavailable. Sign up to access the full features of Cratecode.
In the previous lesson, we used
console.log() to send output to the console. But what actually is
console.log is a method used to print output to the console. It takes in input (called arguments) and writes them to the console. For example, I could write
console.log("test") to print
test to the console. I can also use
console.log to print out numbers to the console:
console.log(59). Check out the code example to see how else
console.log can be used.
Output is unavailable in read-only mode.