Skip to content

Instantly share code, notes, and snippets.

@rchougule
Created April 11, 2020 11:39
Show Gist options
  • Save rchougule/1c731eebdc4648b7958457b16d16ac4e to your computer and use it in GitHub Desktop.
Save rchougule/1c731eebdc4648b7958457b16d16ac4e to your computer and use it in GitHub Desktop.
"use strict";
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var sports = {
default: false,
cricket: {
interested: false
}
};
var cloneSports = _extends({}, sports);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment