Hi, I need some guidance on how to find a literal value for a variable, if
it can be determined. For example:
function getValue() {
return false;
}
var val = getValue();
...
var x = val;
Let's say I wanted to know when x was false. How would I go about walking
back to the return value in the getValue function? The rule I'm working on
is to detect synchronous XMLHttpRequests.
Thanks for any advice!
--
You received this message because you are subscribed to the Google Groups
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.