| 475 | , proto = C && C.prototype |
| 476 | , O = {}; |
| 477 | var fixMethod = function(KEY){ |
| 478 | var fn = proto[KEY]; |
| 479 | require('./$.redef')(proto, KEY, |
| 480 | KEY == 'delete' ? function(a){ return fn.call(this, a === 0 ? 0 : a); } |
| 481 | : KEY == 'has' ? function has(a){ return fn.call(this, a === 0 ? 0 : a); } |
| 482 | : KEY == 'get' ? function get(a){ return fn.call(this, a === 0 ? 0 : a); } |
| 483 | : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; } |
| 484 | : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; } |
| 485 | ); |
| 486 | }; |
| 487 | if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !require('./$.fails')(function(){ |
| 488 | new C().entries().next(); |
| 489 | }))){ |