SyntaxFix
Write A Post
Hire A Developer
Questions
I was searching after a toggling method that does the same, except for an inital value of null or undefined, where it should become false.
null
undefined
false
Here it is:
booly = !(booly != false)