I\'d like to call a function using an array as parameters:
const x = [\'p0\', \'p1\', \'p2\']; call_me(x[0], x[1], x[2]); // I don\'t like it function call_
In ES6 standard there is a new spread operator ... which does exactly that.
...
call_me(...x)
It is supported by all major browsers except for IE.
The spread operator can do many other useful things, and the linked documentation does a really good job at showing that.