https://www.edureka.co/blog/javascript-calculator/
a test page
if statement
Use .pop to remove an item from the end of an array.