This is an interesting programming challenge that reddit user i7_leaf
claims to have received as an interview question.
This is a companion discussion topic for the original entry at https://blog.crowdbotics.com/solving-an-ambiguous-js-interview-question-on-curried-functions/