We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b5a4d commit 8619d26Copy full SHA for 8619d26
packages/optimizely-sdk/lib/utils/fns/index.js
@@ -20,7 +20,9 @@ var MAX_NUMBER_LIMIT = Math.pow(2, 53);
20
module.exports = {
21
assign: require('lodash/assign'),
22
assignIn: require('lodash/assignIn'),
23
- cloneDeep: require('lodash/cloneDeep'),
+ cloneDeep: function(object) {
24
+ return JSON.parse(JSON.stringify(object));
25
+ },
26
currentTimestamp: function() {
27
return Math.round(new Date().getTime());
28
},
0 commit comments