Say I have an array. I wish to pass the array to a function. The function, however, expects two arguments. Is there a way to on the fly convert the array into 2 arguments? F
Use this
a.slice(*b)
It's called the splat operator