Bsljeet

						function foo(a, b, c, d, e, f) {
    console.log(a, b, c, d, e, f);
}

const values = [1, 2, 3, 4, 5];

foo(...values); // 1 2 3 4 5
					
Defiant Dragonfly