Tried to supply the ECMAScript 5 functionality in all browsers. Based on kangax ECMAScript 5 compatibility table. The implementation conforms to ECMA 262 spec, you can find the annotated version here.
- Function.prototype.trim Reference
- Function.prototype.bind Reference
TODO