Print two lines
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
Print two lines
\n starts a new line. Put one between the two words.
Print cat on line 1 and dog on line 2. Two \n make two lines.
Click Run to see the output here.