I am trying the following to add line breaks to a message box but it is not working.
function showMsgBox(){ var msg = \'name: \\n \\n \\n Doc URL\'; Browser.
You need to double-escape "\n" for historical reasons
function myFunction() { Browser.msgBox("Hello\\nWorld") }