SeatGeek interview question

Write a javascript currying function for an add( a, b) function