Quick actions

cmd+k|ctrl+k

Navigation

Languages

Operator Perbandingan

Snippet info

Language

JavaScript

Visibility

public

Author

asky-el

Created

2019-08-13T16:34:06Z

Updated

2019-08-13T16:34:06Z

console.log("Asky!\nOperator Perbandingan");
console.log("----------------------------\n");
var a = 2;
var b = 3;
var c = 3;
console.log("dengan typeof ",typeof b == c);
console.log("dengan typeof ",typeof b === c);
console.log("tanpa typeof ",b == c);
console.log("tanpa typeof ",b === c);
console.log(typeof b != c);
console.log(typeof b !== c);
console.log(typeof b > c);
console.log(typeof b < c);
console.log(typeof b >= c);
console.log(typeof b <= c);
INFO