I know what it is and how it's being used, my issue is with this being on a slide titled "good code", the fact that you can mistake my comment as a developer not understanding what that code does further proves my point
1. The tests could be a little stricter, what I have it just an example.
2. You're right, it should have been:
// if name is omitted
args.splice(0, 0, null);
// if deps is omitted
args.splice(1, 0, [])
// if fn is ommited
args.splice(2, 0, noop);
I'll edit the post when I get a chance