We oftentimes assume that "native" APIs within the browser are fast -- at least faster than shims we create or have been using. I was surprised to recently read this StackOverflow thread which asserts that Function.prototype.bind is much slower than what you can shim.
from Pocket https://davidwalsh.name/javascript-bind
via
Freelance developer London
No comments:
Post a Comment