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