What is the symbol “!” used for? I’ve seen it many times but I don’t know what it means.
! is the Bitwise operator,
console.log(! true); // -> false
NOT is a negator, meaning true becomes false, and false becomes true.
In many languages, when combined with
= it means
NOT EQUAL TO.
Thank you for the help