1094Re: [jslint] Why isn't !! OK?
- Feb 1, 2010
> !! can be used as a prefix operator, converting its operand to a boolean.It doesn't emit this error for the following code:
> but JSLint says:
> Confusing use of '!'.
var a = !!b;
Do you have a code snippet illustrating your problem?
- << Previous post in topic Next post in topic >>