added whole system from ola4doc
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
var assign = require('./assign')
|
||||
, value = require('./valid-value');
|
||||
|
||||
module.exports = function (obj) {
|
||||
var copy = Object(value(obj));
|
||||
if (copy !== obj) return copy;
|
||||
return assign({}, obj);
|
||||
};
|
||||
Reference in New Issue
Block a user