Created
April 11, 2020 11:39
-
-
Save rchougule/1c731eebdc4648b7958457b16d16ac4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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