by the_mitsuhiko · 11y ago · 0 comments
... said the person not understanding the language semantics.
Passing arbitrary data as this is a terrible idea. It has to be an object and as such all primitives end up boxed.
I didn't have to box anything to pass a primitive as this. Maybe some other versions are different, but this works in Chrome 40 and Firefox 33.