Disallows using .apply
in favor of the spread operator
Types: Boolean
Values:
true
specifies that apply .apply
is disallowedVersion: ES6
"requireSpread": true
true
const wrap = (f, g) => (...args) => g(f, ...args)
instance.method(...args)
true
const wrap = (f, g) => (...args) => g.apply(g, [f].concat(args))
instance.method.apply(instance, args);