t-eckert / react-rpn

A Reverse Polish Notation Calculator in ReactJS
2 stars 0 forks source link

It's possible to get NaN and other Misc issues with NaN #1

Open AustinTSchaffer opened 6 years ago

AustinTSchaffer commented 6 years ago

It appears that the stack does not default to 0 if you repeat operators.

Steps to reproduce:

  1. Refresh
  2. Repeat any operator until NaN appears in the calc window.

image

Other issues with NaN

image