Feed back on calculator

Hi, here’s my calculator in javascript. When Y built my calculator I felt every time to be closed to the end until I find a bug. Period! What a deception training! Please give me your experience as a user. I would like to know if you found something wrong. If the entry is not valid, It susppose to display “NaN”