const aTail = (head, ...tail) => tail;aTail(1, 2, 3); // [2, 3]A Functional Programmer’s Introduction to JavaScript (Composing Software)6.8K54Eric ElliottRandy MacDonaldFollowFeb 25, 2017 · 1 min read// This also works.((head, …tail) => tail;)(1, 2, 3); // [2, 3]