Open yoogottamk opened 5 years ago
Empty expressions [or even empty bracket sequences] are evaulated
Just load the page, then click the following buttons ( -> ) and evaluate
( -> )
Such a sequence does not make sense, so it should not go ahead and try to compute the result. It tries to do so and fails.
If you don't press anything and evaluate, it shows 0 If you enter an empty bracket sequence, it shows NaN
0
NaN
Defect description
Empty expressions [or even empty bracket sequences] are evaulated
Steps to reproduce
Just load the page, then click the following buttons
( -> )
and evaluateExpected result
Such a sequence does not make sense, so it should not go ahead and try to compute the result. It tries to do so and fails.
If you don't press anything and evaluate, it shows
0
If you enter an empty bracket sequence, it showsNaN
Screenshot