paulmillr / es6-shim

ECMAScript 6 compatibility shims for legacy JS engines
http://paulmillr.com
MIT License
3.11k stars 388 forks source link

Don't mix formal parameters and arguments array #462

Open milk-z opened 4 years ago

milk-z commented 4 years ago

IE11 perf is significantly degraded when mixing formal parameters and the arguments array

Perf comparisons of mixing formal parameters and arguments vs not shows not mixing is much faster. And using only formal parameters vs using only arguments array shows similar perf. mixed-perf unmixed-perf