Thursday 30 April 2020

What is the !! (not not) operator in JavaScript?

What is the !! (not not) operator in JavaScript?Wondering what !! means in JavaScript? It is a convenient way to convert a value to a boolean using a double JavaScript not operator.

source https://love2dev.com/blog/javascript-not-operator/

No comments:

Post a Comment