Using arguments can slow things down. And you're always just passing one. I'd convert this to expect a single argument, or to use ES6 ...args