]> git.r.bdr.sh - rbdr/dotfiles/blob
4d7177285fe5b3459be5665169b3441b9deee3b1
[rbdr/dotfiles] /
1 'use strict';
2
3 var assign = require('./assign')
4 , value = require('./valid-value');
5
6 module.exports = function (obj) {
7 var copy = Object(value(obj));
8 if (copy !== obj) return copy;
9 return assign({}, obj);
10 };