MCPcopy Create free account
hub / github.com/deepch/RTSPtoWebRTC / _objectSpread

Function _objectSpread

web/static/js/bootstrap.bundle.js:45–62  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

43 }
44
45 function _objectSpread(target) {
46 for (var i = 1; i < arguments.length; i++) {
47 var source = arguments[i] != null ? arguments[i] : {};
48 var ownKeys = Object.keys(source);
49
50 if (typeof Object.getOwnPropertySymbols === 'function') {
51 ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
52 return Object.getOwnPropertyDescriptor(source, sym).enumerable;
53 }));
54 }
55
56 ownKeys.forEach(function (key) {
57 _defineProperty(target, key, source[key]);
58 });
59 }
60
61 return target;
62 }
63
64 function _inheritsLoose(subClass, superClass) {
65 subClass.prototype = Object.create(superClass.prototype);

Callers 1

Calls 1

_definePropertyFunction · 0.70

Tested by

no test coverage detected