Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function NativeCode() {
- function nc(fn) {
- fn.toString = function () {
- return '[ native code ]';
- };
- }
- function eachNC(obj) {
- _.each(obj, function (v) {
- if (typeof v === 'function') {
- nc(v);
- }
- });
- }
- nc(this);
- eachNC(this.prototype);
- eachNC(this);
- }
Advertisement
Add Comment
Please, Sign In to add comment