Toggle navigation
VR AR News
beta
Blog
Suggest a feed
Feedback
About
Friday, 3 July, 2020
UTC
The Double-Bang (!!) Operator And A Misunderstanding Of How JavaScript Handles Truthy / Falsy Values
Summary
Ben Nadel has noticed developers using the double-bang (!!) operator far more often in their JavaScript code than they have to. As such, he provides a series of unnecessary examples followed by cleaner, more intuitive examples....
... more @ bennadel.com
bennadel.com