MCPcopy Create free account
hub / github.com/Starcounter-Jack/JSON-Patch / extendStatics

Function extendStatics

module/helpers.mjs:7–12  ·  view source on GitHub ↗
(d, b)

Source from the content-addressed store, hash-verified

5 */
6var __extends = (this && this.__extends) || (function () {
7 var extendStatics = function (d, b) {
8 extendStatics = Object.setPrototypeOf ||
9 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
11 return extendStatics(d, b);
12 };
13 return function (d, b) {
14 extendStatics(d, b);
15 function __() { this.constructor = d; }

Callers 1

helpers.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected