If we want to be able to do partial application fixing any combination of parameters, we must have a way to specify which arguments are to be left free and which will be fixed from that point on. Some libraries, such as Underscore or LoDash, use a special object, _, to signify an omitted parameter. In this fashion, still using the same nonsense() function, we would write the following:
const fix2and5 = _.partial(nonsense, _, 22, _, _, 1960);
We could do the same sort of thing, by having a global variable that would represent a pending, not yet fixed argument, but let's make it simpler, and just write undefined to represent a missing parameter.