Exemplo n.º 1
0
exports.copy = function (){
  var l = [234,543,1,44,5555,null,534,6,456]
    , o = {a: 123, b: 123, $: null, c:'sdf', l: l}
    , n = null
    , r = sync.copy(l,value)
    , r2 = sync.copy(o,value)
    , r3 = sync.copy(null,value)
    
    test.deepEqual(r,l)
    test.deepEqual(r2,o)
    test.deepEqual(r3,n)
}