MCPcopy
hub / github.com/tdewolff/minify / extendStatics

Function extendStatics

_benchmarks/sample_echarts.js:43–48  ·  view source on GitHub ↗
(d, b)

Source from the content-addressed store, hash-verified

41 /* global Reflect, Promise */
42
43 var extendStatics = function(d, b) {
44 extendStatics = Object.setPrototypeOf ||
45 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
46 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
47 return extendStatics(d, b);
48 };
49
50 function __extends(d, b) {
51 extendStatics(d, b);

Callers 1

__extendsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…