Is it really? You have a click event on a button. If you are able to click that button a thousand times a second, I might see a reason to care about a few clock ticks of performance, but for the use case bind provides an easy readable way to implement event binding.
4
u/oefig Mar 09 '15
Could you explain further in what ways bind/call/apply can affect performance? I love using
bindto set up my handler functions like so:... over:
I always thought
.bindand.applyfit well into Javascript, but if I shouldn't be using them please tell me why!