alert("your-name");
alert("First-name\n\n\n\nLast-name");
To insert three blank lines we use the newline escape character 4 times. (The last line is not blank ... it contains your last name).
document.write("\\a");
alert("He said \"JavaScript's the best!\"");
Note the escaped double quotes.
alert("1\n\t2\n\t\t3");
\t inserts a tab.