Curried version of JavaScript operators