What is the symbol “!” used for? I’ve seen it many times but I don’t know what it means.

In JavaScript, ! is the Bitwise operator, NOT.

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.

12 !== 13    // true    JavaScript

12 != 13     #  True    Python

Thank you for the help :slight_smile: