Quick actions

cmd+k|ctrl+k

Navigation

Languages

oplogika

Snippet info

Language

JavaScript

Visibility

public

Author

dewiyantiklau395

Created

2019-09-27T16:05:20Z

Updated

2019-09-27T16:06:53Z

var x = true;
var y = true;

console.log ('x     :' + x + '');
console.log ('y     :' + y + '');
console.log ('!x       : ' + !x + '');
console.log('!y       : ' + !y + '');
console.log('x and y  : ' + (x && y) + '');
console.log('x or y   : ' + (x || y) + '');
console.log('x xor y  : ' + Boolean(x ^ y) + '');
INFO