|
Project
|
IntelliJ IDEA
|
|
Priority
|
Normal |
|
Type
|
Bug |
|
Fix versions
|
No Fix versions |
|
State
|
Fixed |
|
Assignee
|
Maxim Mossienko |
|
Subsystem
|
JavaScript |
|
Affected versions
|
No Affected versions |
|
Fixed in build
|
108.65 |
var checkers = $('checkbox' + foo);
var isCheckboxOn = (checkers && checkers.checked) ? true : false;
In this case, the intellij-recommended simplification doesn't work, and you end up with "isCheckbox" equal to "null" rather than "false"