View Single Post
Old 11-20-2012, 01:52 PM   PM User | #3
Dormilich
Senior Coder

 
Dormilich's Avatar
 
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,882
Thanks: 9
Thanked 291 Times in 287 Posts
Dormilich is on a distinguished road
@rnd_me: could you explain why var max=Math.max.apply.bind(Math.max, 0); requires a second parameter? (I tried various ones, it only matters that there is one)


PS. John Resig claims responsibility for that "hack" to the Book "JavaScript, the definitive guide".
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich is offline   Reply With Quote