let f = function (x, y, z, t) {
if (x !== 1)
thrownewError("Spread1");
if (y !== 2)
thrownewError("Spread2");
if (z !== 3)
thrownewError("Spread3");
if (t !== 4)
thrownewError("Spread4")
if (arguments.length !== 4)
thrownewError("Spread5");
}
f (1, ...[2,3], 4);