MCPcopy
hub / github.com/deepch/RTSPtoWebRTC / _objectSpread

Function _objectSpread

web/static/js/bootstrap.js:46–63  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

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

Callers 1

bootstrap.jsFile · 0.70

Calls 1

_definePropertyFunction · 0.70

Tested by

no test coverage detected