composeAsync II

Extend composeAsync so the returned function can accept multiple arguments that are passed to the rightmost function.

Asked in Adobe frontend interviews