/**
* Falsy values: undefined, null, NaN, 0, -0, ""
*/
// The following returns false
console.log(Boolean(undefined));
console.log(Boolean(null));
console.log(Boolean(NaN));
console.log(Boolean(0));
console.log(Boolean(-0));
console.log(Boolean("")); //empty string returns false too
console.log(Boolean('')); //empty string (single quotes)
console.log(Boolean());
false false false false false false false false
$ps -aux | grep node (list all node processes) sasa 1194 0.5 0.4 1304100 80860 ? Ssl Oct24 269:29 node /home/sasa/.pm2/modules/pm2-logrotate/node_modules/pm2-logr sasa 1200 0.9 0.8 11722864 138984 ? Ssl Oct24 472:03 node /home/sasa/dex8/dex8-api/starter.js sasa 1207 0.4 0.4 1304652 73252 ? Ssl Oct24 221:30 node /home/sasa/regoch/regoch-www/server sasa 1208 0.3 0.4 1304912 73124 ? Ssl Oct24 193:09 node /home/sasa/dex8/dex8-panel/server/index.js sasa 1224 0.9 0.6 11825444 105908 ? Ssl Oct24 466:23 node /home/sasa/dex8/dex8-www/server/index.js sasa 1236 0.5 0.5 11810828 97728 ? Ssl Oct24 295:39 node /home/sasa/mikosoft_hr/www-mikosoft-hr/server/index.js sasa 1255 0.7 0.5 1330860 84376 ? Ssl Oct24 395:40 node /home/sasa/mikosoft-info/api-mikosoft-info/starter.js sasa 1257 0.3 0.4 1301028 69080 ? Ssl Oct24 196:17 node /home/sasa/mikosoft-info/www-mikosoft-info/server/index.js sasa 1289 0.3 0.4 1297724 67416 ? Ssl Oct24 193:34 node /home/sasa/dex8/dex8-kiosk/server/index.js sasa 1363 3.2 2.7 12153300 453540 ? Ssl Oct24 1653:17 node /home/sasa/voovuu/voovuu-pub/server/index.js sasa 1449 0.3 0.3 1167080 64884 ? Ssl Oct24 202:52 node /home/sasa/dex8/dex8-worker/starter.js sasa 1528 1.7 2.7 33138664 451764 ? Rsl Oct24 897:05 node /home/sasa/dex8/dex8-worker/starter.js sasa 1529 0.3 0.3 1100388 63980 ? Ssl Oct24 202:43 node /home/sasa/dex8/dex8-worker/starter.js sasa 1606 0.3 0.3 1100132 64596 ? Ssl Oct24 202:46 node /home/sasa/dex8/dex8-worker/starter.js sasa 1607 0.3 0.3 1100900 65188 ? Ssl Oct24 202:12 node /home/sasa/dex8/dex8-worker/starter.js sasa 1705 0.3 0.3 1101160 65408 ? Ssl Oct24 202:06 node /home/sasa/dex8/dex8-worker/starter.js sasa 1706 0.3 0.3 1100900 64492 ? Ssl Oct24 202:03 node /home/sasa/dex8/dex8-worker/starter.js sasa 1805 0.3 0.4 1167200 65932 ? Ssl Oct24 202:15 node /home/sasa/dex8/dex8-worker/starter.js sasa 1807 0.3 0.3 1100384 63432 ? Ssl Oct24 198:09 node /home/sasa/dex8/dex8-worker/starter.js sasa 1885 0.3 0.3 1100136 63696 ? Ssl Oct24 199:30 node /home/sasa/dex8/dex8-worker/starter.js sasa 1886 1.6 0.9 11858256 161136 ? Ssl Oct24 858:10 node /home/sasa/mikosoft-info/crypto-mikosoft-info/server/index. sasa 2628167 0.8 0.7 1170068 126004 ? Ssl Nov04 297:47 node /home/sasa/voovuu/voovuu-api/starter.js sasa 3168557 0.6 0.5 11800780 90228 ? Ssl Nov06 210:54 node /home/sasa/mikosoft-info/dodo-mikosoft-info/server/index.js sasa 3169051 0.4 0.5 11798408 83688 ? Ssl Nov06 137:47 node /home/sasa/@mikosoft/dodo-examples/server/index.js www-data 3628417 0.0 0.0 2608 528 ? S 09:01 0:00 sh -c ps -aux | grep node www-data 3628419 0.0 0.0 3304 652 ? S 09:01 0:00 grep node