_.bind and Function#bind padding from MDN do essentially the same thing. If you use the MDN method, you do not need to use the Underscore.js method.
You should use the MDN method as follows:
window.onload = (function() { this.product.quantityListing(); }).bind(this);
On the other hand, if you use the MDN slot, before including Underscore on your page, Underscore will use the slotted version if necessary.
So, if you turn on the pad before Underscore, you can use what you prefer. Personally, I stick to using Function#bind because it has (very little) better performance in browsers that support it.
source share