https://marco.org/2007/05/01/i-love-javascripts-flexibility-pass-too-few
I love JavaScript’s flexibility. Pass too few arguments to a function? It just sets the rest to undefined. Pass too many? It ignores the extras. Neither case throws an error, halts execution, or prevents the function from being called.