3 ms·
why not use a "JS-native"implemtation then? Are there some issues with the spec that need to be respected?
by rtpg 13y ago
why not use a "JS-native"implemtation then? Are there some issues with the spec that need to be respected?
- kevingadd 13y agoI'm not aware of any good reason to use Function.bind. Presumably at some point in the future VMs could optimize it such that it would be faster than a native JS polyfill, but right now the polyfill is superior. If you just want to slam out some JS one-liners, though, you obviously want to use built-in functions where possible.