Qubit Interview Question

Write in vanilla javascript a debounced currying