I'm facing an issue with a JavaScript comparison that doesn't seem to be working.
It's puzzling why it's skipping to line 12302 and setting showNoDataText = true
.
The logic dictates that it should be false
since the array length of 285
is less than 1
. The value of boolValue
is correctly set to (=false)
.
Despite trying both ==
and ===
for comparison, as well as 'if (boolValue) {...}'
, it's still not functioning as expected. Any ideas?
Currently using the most recent version of Mozilla Firefox, but also tested in Internet Explorer 11 with no success.
Please refrain from further responses, as the issue has been resolved. Thanks to Alexis for providing the correct answer!
For more information on the problem: Firefox debugger jumps from an if-block directly to an else-block