Why to use this code :
var args = Array.prototype.slice.call(arguments);
instead of :
args = [...arguments];
?
Why to use this code :
var args = Array.prototype.slice.call(arguments);
instead of :
args = [...arguments];
?
In case spread operator is not supported.