..:: Source code - 041bool_comparison.js ::..

/**
 * Comparison operators: == , === , != , !===
 * < , <= , > , >=
 */


console.log(Boolean(5 == '5')); //true
console.log(Boolean(5 === '5')); //false

console.log(Boolean(5 !== '5')); //true
console.log(Boolean(5 != '5')); //false
 

..:: NodeJS Console - 041bool_comparison.js ::..

$ node 041bool_comparison.js
true
false
true
false
$ps -aux | grep node (list all node processes)
sasa        1194  0.5  0.4 1303668 81152 ?       Ssl  Oct24 270:36 node /home/sasa/.pm2/modules/pm2-logrotate/node_modules/pm2-logr
sasa        1200  0.9  0.8 11723120 139288 ?     Ssl  Oct24 475:01 node /home/sasa/dex8/dex8-api/starter.js
sasa        1207  0.4  0.4 1304140 72920 ?       Ssl  Oct24 222:34 node /home/sasa/regoch/regoch-www/server
sasa        1208  0.3  0.4 1304912 73192 ?       Ssl  Oct24 193:59 node /home/sasa/dex8/dex8-panel/server/index.js
sasa        1224  0.9  0.5 11801636 94452 ?      Ssl  Oct24 467:59 node /home/sasa/dex8/dex8-www/server/index.js
sasa        1236  0.5  0.5 11810572 97816 ?      Ssl  Oct24 296:56 node /home/sasa/mikosoft_hr/www-mikosoft-hr/server/index.js
sasa        1255  0.7  0.5 1330860 83912 ?       Ssl  Oct24 397:33 node /home/sasa/mikosoft-info/api-mikosoft-info/starter.js
sasa        1257  0.3  0.4 1301028 69152 ?       Ssl  Oct24 197:07 node /home/sasa/mikosoft-info/www-mikosoft-info/server/index.js
sasa        1289  0.3  0.4 1297724 67692 ?       Ssl  Oct24 194:24 node /home/sasa/dex8/dex8-kiosk/server/index.js
sasa        1363  3.1  2.7 12146388 452084 ?     Ssl  Oct24 1656:30 node /home/sasa/voovuu/voovuu-pub/server/index.js
sasa        1449  0.3  0.3 1166568 64688 ?       Ssl  Oct24 203:45 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1528  1.7  2.6 33114568 440632 ?     Ssl  Oct24 906:02 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1529  0.3  0.3 1100644 64756 ?       Ssl  Oct24 203:36 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1606  0.3  0.4 1101412 65680 ?       Ssl  Oct24 203:38 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1607  0.3  0.3 1100900 64852 ?       Ssl  Oct24 203:03 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1705  0.3  0.4 1101928 65712 ?       Ssl  Oct24 202:57 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1706  0.3  0.4 1102436 65988 ?       Ssl  Oct24 202:54 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1805  0.3  0.4 1167712 66704 ?       Ssl  Oct24 203:07 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1807  0.3  0.3 1100384 64524 ?       Ssl  Oct24 198:59 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1885  0.3  0.3 1100136 63776 ?       Ssl  Oct24 200:20 node /home/sasa/dex8/dex8-worker/starter.js
sasa        1886  1.6  0.9 11858768 161432 ?     Ssl  Oct24 864:17 node /home/sasa/mikosoft-info/crypto-mikosoft-info/server/index.
sasa     2628167  0.8  0.7 1170068 126164 ?      Ssl  Nov04 299:23 node /home/sasa/voovuu/voovuu-api/starter.js
sasa     3168557  0.6  0.5 11814348 97768 ?      Ssl  Nov06 212:28 node /home/sasa/mikosoft-info/dodo-mikosoft-info/server/index.js
sasa     3169051  0.4  0.5 11798408 83132 ?      Ssl  Nov06 138:46 node /home/sasa/@mikosoft/dodo-examples/server/index.js
www-data 3717458  0.0  0.0   2608   592 ?        S    13:38   0:00 sh -c ps -aux | grep node
www-data 3717460  0.0  0.0   3304   648 ?        S    13:38   0:00 grep node