Convert .apply() to Use Spread Syntax

Replace .apply() calls by using the spread syntax (...).

refactoring
ES2015 modernization
safe

The spread syntax (...) allows iterables like array expressions to be expanded in place where arguments are expected. It can used in place of .apply. For example Math.min.apply(Math, args) can be replaced with Math.min(...args).