In firefox, if I make a make use of an if else statement containing storeEval the storeEval statement will be executed even if the if statement's condition is not met.
Example:
Result:
As can be seen here, as expected the only text that was echoed out of "Within else" and "Within if" was "Within else", however, even though the if condition was not met, storeEval ran and increased the value of thisShouldBe1 from 1 to 2.
In firefox, if I make a make use of an if else statement containing storeEval the storeEval statement will be executed even if the if statement's condition is not met. Example: Result:
As can be seen here, as expected the only text that was echoed out of "Within else" and "Within if" was "Within else", however, even though the if condition was not met, storeEval ran and increased the value of thisShouldBe1 from 1 to 2.
When executed on chrome, it works as intended: