We've run into an edge case with the spread operator. What should
happen if we try to spread null or undefined?

f(...undefined);

A. Throw an error
B. Follow the path of Function.prototype.apply and others and special
case null and undefined and just call f with 0 arguments

-- 
erik
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to