There is no such operator, you are merely using the logical not operator (!) twice. Describing it as a single operator merely serves to create misunderstanding as to what is actually going on.
Officially, if we only refer to MDN docs, you are right. Its not a new operator. Its just a double NOT operator. But not everyone knows that we can do this, hence i include it here 😀
Regarding the name "Bang", as @webjose refer to western movies, here is the truth:
In the 1950s, secretarial dictation and typesetting manuals in America referred to the mark as "bang", perhaps from comic books – where the ! appeared in dialogue bubbles to represent a gun being fired – although the nickname probably emerged from letterpress printing. This "bang" usage is behind the names of the interrobang, an unconventional typographic character, and a shebang, a feature of Unix computer systems. In hacker culture, the exclamation mark is called "bang", "shriek"
Web dev passion ignited in 1999. Built & maintained gaming sites, honed PHP skills. Hobby turned career in 2011, now building complex web applications.
There is no such operator, you are merely using the logical not operator (
!) twice. Describing it as a single operator merely serves to create misunderstanding as to what is actually going on.Officially, if we only refer to MDN docs, you are right. Its not a new operator. Its just a double NOT operator. But not everyone knows that we can do this, hence i include it here 😀
Regarding the name "Bang", as @webjose refer to western movies, here is the truth:
en.wikipedia.org/wiki/Exclamation_...
Thank you for the trivia 😄
At least rename it to "double negation operators". Bang Bang?? Are we in a western movie? That's messed up. LOL.
If you search in google using that keyword, many people actually call it that way.. i didnt invent that word 😂
This list is great. Thanks @syakirurahman
You're welcome. hope it helps! 😄
Thank you, I learned some things to start utilizing more 😀
No problem.. Tell me what you learn from here? 😄