You cannot just pass an args array, as in your question. You will have to pass each element of the args array separately.
function Proxy(... args)
{
Task(args[0], args[1], args[2]);
}
Udate
After reading one of the comments, it looks like you can get away with it:
function Proxy(... args)
{
Task.apply(null, args);
}
Just be careful. The performance of apply () is much slower than calling a function with the traditional method.
source
share