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