top | item 43723382

(no title)

oneoverten | 10 months ago

Yes. This is true for JS too, object-wrapping parameters just to make them named will add runtime overhead.

discuss

order

fenomas|10 months ago

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.