How to insert a new line in node js array

I am totally new to coding. Please help. I want new line after hello world. \n doesn't work for Unix.

var array=[];
array.push("Hello World");
array.push("\n");
array.push("Welcome");

Use this as well. Refer to this link http://nodejs.org/api/os.html#os_os_eol

var endOfLine = require('os').EOL;
array.push(endOfLine);

Problem is it's \n not /n.

If you are using nodejs you can make it better OS independent like bellow

var os = require('os');

var array=[];
array.push("Hello World");
array.push(os.EOL);//os.EOL tells what is END of Line char of os.
array.push("Welcome");
console.log(array.join(''));