Passing functions with multiple arguments to Array.prototype.map() in JavaScript · HackerTrans