This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Yes, usage of '===' / '!==' is more appropriate in 99.9% of cases in JavaScript, though in some really rare case I do need to use '==' and '!=', but that single occurrence spoils the 'green' state of my entire file. I do not want to disable this warning completely, but I'd like to have ability to disable it for a particular single expression, for example by using double parentheses: - - - - - - - - - - - - if ((a == b)) { // do something } or if ( ((a == b)) && ((c == d)) ) { // do something } - - - - - - - - - - - - As far as I know, JSLint absolutely does not tolerate '==' and '!='.