Output in two lines


Instead of displaying the output in a single line,

Congrats, you have slew the dragon!

it is spread across two lines.

Congrats, you have slew the

Please help me understand the reason.


I think you just have a whole lot of spaces there in front of dragon!");


I tried the following:
console.log("Congrats, you have slew the dragon!");
console.log("Congrats, you have slew the\ dragon!");

Both resulted in the same output. It looks like it is just the size of your console window making the output wrap to the next line. If you increased the size of your window I think it would show up on one line.