Skip to content

Instantly share code, notes, and snippets.

@daybrush
Last active October 4, 2018 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daybrush/ed0e02561ff9b9ad4211c6a6d46e0396 to your computer and use it in GitHub Desktop.
Save daybrush/ed0e02561ff9b9ad4211c6a6d46e0396 to your computer and use it in GitHub Desktop.
assign extend dulplicate
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment