not not in js code example Example: not operator js let a = true; let b = !a; console.log(b); //output: false