1. Day 1/100 Addendum

    Came up with another way to do the RPN calculator by attaching functions in a JavaScript "dictionary":

    // jshint esversion: 6
    
    function add(p) {
        return p.x + p.y;
    }
    
    function multiply(p) {
        return p.x * p.y;
    }
    
    function subtract(p) {
        return p.x - p.y;
    }
    
    function divide(p) {
        return p.x …
    read more

links

social