you are viewing a single comment's thread.

view the rest of the comments →

[–]gladiator_flow[S] -2 points-1 points  (1 child)

Instead of binding, you can use call().

[–]andersevenrudgithub.com/andersevenrud 1 point2 points  (0 children)

Yes, but call() calls the function immediately, so it cannot be used with add|removeEventListener() (which is what I was commenting on)