Here's a codepen experiment using Javascript's ES6 Classes
I built this JS calculator as an excuse to experiment with vanilla Javascript, and use some of the new ES6 syntax.