Hacker News new | ask | show | jobs
by oneoverten 427 days ago
Yes. This is true for JS too, object-wrapping parameters just to make them named will add runtime overhead.
1 comments

Not in current chrome, at least for simple cases (like a short function with a single argument). It benchmarks the same with or without the param wrapper.