Skip to content

double-negation

Default severity: error

Negating a boolean twice produces the original value. The expression is either redundant or contains a mistaken extra !.

return !!ready
return ready