โ Back to Printing
Question 87
Print Two Lines with One Log
Print Two Lines with One Log
Using a SINGLEconsole.log()call, print two lines by including a newline (\n) inside the string so the output is exactly: Line 1 Line 2
Expected Output:
Line 1 Line 2
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.