Back out 97036ab72558 which inappropriately compared turds to third parties.
1 function f(a, b, c, ...rest) {
3 assertEq(b, undefined);
4 assertEq(c, undefined);
5 assertEq(Array.isArray(rest), true);
6 assertEq(rest.length, 0);
7 assertEq(Object.getPrototypeOf(rest), Array.prototype);