var t = function (f, ...items) { items[0]; items[items.length - 1]; }; function t(f, ...items) { items; items[0]; items[items.length - 1]; }