Then cannot you just write `if (!(bool = !bool))` ? Sebastian Malton
In the stupid idea of the day department, for some reason I have felt the urge more than once in recent months for an operator which would invert the value of a boolean variable while evaluating to its pre-inversion value. For example:
```js if (bool!!) ``` The post-inversion case is less important since I can just write `if (bool = !bool)`. Bob | ||
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

