MCPcopy Create free account
hub / github.com/CloudBoost/cloudboost / clone

Function clone

sdk/src/CloudSocketClientLib.js:291–299  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

289 };
290
291 function clone(obj) {
292 var o = {};
293 for (var i in obj) {
294 if (obj.hasOwnProperty(i)) {
295 o[i] = obj[i];
296 }
297 }
298 return o;
299 }
300
301 /**
302 * Initializes transport to use and starts probe.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected