(type, name, source)
| 448 | , PROTOTYPE = 'prototype'; |
| 449 | |
| 450 | var $export = function(type, name, source){ |
| 451 | var IS_FORCED = type & $export.F |
| 452 | , IS_GLOBAL = type & $export.G |
| 453 | , IS_STATIC = type & $export.S |
| 454 | , IS_PROTO = type & $export.P |
| 455 | , IS_BIND = type & $export.B |
| 456 | , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE] |
| 457 | , exports = IS_GLOBAL ? core : core[name] || (core[name] = {}) |
| 458 | , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}) |
| 459 | , key, own, out, exp; |
| 460 | if(IS_GLOBAL)source = name; |
| 461 | for(key in source){ |
| 462 | // contains in native |
| 463 | own = !IS_FORCED && target && target[key] !== undefined; |
| 464 | // export native or passed |
| 465 | out = (own ? target : source)[key]; |
| 466 | // bind timers to global for call from export context |
| 467 | exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; |
| 468 | // extend global |
| 469 | if(target)redefine(target, key, out, type & $export.U); |
| 470 | // export |
| 471 | if(exports[key] != out)hide(exports, key, exp); |
| 472 | if(IS_PROTO && expProto[key] != out)expProto[key] = out; |
| 473 | } |
| 474 | }; |
| 475 | global.core = core; |
| 476 | // type bitmap |
| 477 | $export.F = 1; // forced |
no outgoing calls
no test coverage detected
searching dependent graphs…