Switching on arguments.length would be more correct, in my view. Underscore switches on value elsewhere, though, so this seems right to me.