If I'm writing an alert in backbone.marionette how do I start a new line? E.g. when I use the alert() function (I think it's possibly a Javascript function rather than Backbone.Marionette; I'm just using it within Backbone.Marrionette code...) I currently have some code that looks like this:
alert("Some alert text " + variable + " some more alert text");
Which outputs:
"Some alert text [variable] some more alert text"
When I want it to output:
"Some alert text [variable]
Some more alert text"
NOTE: AT THE TIME OF WRITING THIS USER HAD BEGUN USING JAVASCRIPT AND BACKBONE.MARIONETTE AT THE SAME TIME AND WAS UNCLEAR AS TO THE DIFFERENCE. QUESTION LEFT AS IS OTHERWISE, AS THE ACCEPTED ANSWER MAY BE USEFUL.