UNPKG

ajsfw

Version:
26 lines (25 loc) 767 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Obj = (function () { function Obj() { } Obj.assign = function (target, varArgs) { if (target == null) { throw new TypeError(); } var to = Object(target); for (var i = 1; i < arguments.length; i++) { var nextSource = arguments[i]; if (nextSource != null) { for (var nextKey in nextSource) { if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; }; return Obj; }()); exports.Obj = Obj;