..:: Source code - 030string_multiline.js ::..

/**
 * An example of multiline string.
 * EcmaScript 5 allows this but EcmaScript 3 don't.
 */
var x, y;

//multiline with \
x = 'First column\
	second column\
	third column';

//newline \n
y = 'first row\nsecond row';


console.log(x);
console.log(y);

 

..:: NodeJS Console - 030string_multiline.js ::..

$ node 030string_multiline.js
First column	second column	third column
first row
second row
$ps -aux | grep node (list all node processes)
sasa        1194  0.5  0.4 1303240 80028 ?       Ssl  Oct24 268:19 node /home/sasa/.pm2/modules/pm2-logrotate/node_modules/pm2-logr
sasa        1200  0.9  0.8 11722608 138380 ?     Ssl  Oct24 468:32 node /home/sasa/dex8/dex8-api/starter.js
sasa        1207  0.4  0.4 1303884 72264 ?       Ssl  Oct24 220:25 node /home/sasa/regoch/regoch-www/server
sasa        1208  0.3  0.4 1304912 73184 ?       Ssl  Oct24 192:17 node /home/sasa/dex8/dex8-panel/server/index.js
sasa        1224  0.9  0.5 11820232 98204 ?      Ssl  Oct24 464:27 node /home/sasa/dex8/dex8-www/server/index.js
sasa        1236  0.5  0.5 11810828 97544 ?      Ssl  Oct24 294:21 node /home/sasa/mikosoft_hr/www-mikosoft-hr/server/index.js
sasa        1255  0.7  0.5 1330860 83812 ?       Ssl  Oct24 393:43 node /home/sasa/mikosoft-info/api-mikosoft-info/starter.js
sasa        1257  0.3  0.4 1300548 69420 ?       Ssl  Oct24 195:24 node /home/sasa/mikosoft-info/www-mikosoft-info/server/index.js
sasa        1289  0.3  0.4 1297724 67028 ?       Ssl  Oct24 192:43 node /home/sasa/dex8/dex8-kiosk/server/index.js
sasa        1363  3.2  2.8 12153716 460856 ?     Ssl  Oct24 1647:46 node /home/sasa/voovuu/voovuu-pub/server/index.js
sasa        1449  0.3  0.3 1167080 64756 ?       Ssl  Oct24 202:00 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1528  1.7  2.6 33106832 441352 ?     Ssl  Oct24 884:38 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1529  0.3  0.4 1101412 65620 ?       Ssl  Oct24 201:49 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1606  0.3  0.4 1102180 66528 ?       Ssl  Oct24 201:53 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1607  0.3  0.3 1101924 65452 ?       Ssl  Oct24 201:18 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1705  0.3  0.4 1102440 66940 ?       Ssl  Oct24 201:12 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1706  0.3  0.4 1102948 66056 ?       Ssl  Oct24 201:10 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1805  0.3  0.4 1168480 66312 ?       Ssl  Oct24 201:22 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1807  0.3  0.3 1101152 65088 ?       Ssl  Oct24 197:16 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1885  0.3  0.3 1100392 64424 ?       Ssl  Oct24 198:37 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1886  1.6  0.9 11858000 161400 ?     Ssl  Oct24 851:53 node /home/sasa/mikosoft-info/crypto-mikosoft-info/server/index.
sasa     2628167  0.8  0.7 1170068 126472 ?      Ssl  Nov04 295:56 node /home/sasa/voovuu/voovuu-api/starter.js
sasa     3168557  0.6  0.6 11825356 99268 ?      Ssl  Nov06 209:24 node /home/sasa/mikosoft-info/dodo-mikosoft-info/server/index.js
sasa     3169051  0.4  0.5 11798408 83208 ?      Ssl  Nov06 136:46 node /home/sasa/@mikosoft/dodo-examples/server/index.js
www-data 3515999  0.0  0.0   2608   600 ?        S    04:19   0:00 sh -c ps -aux | grep node
www-data 3516001  0.0  0.0   3304   712 ?        S    04:19   0:00 grep node