ah-deep-clone.js
function copy(acc, k) {
    const val = x[k]
    let cpy
    if (Array.isArray(val)) {
      cpy = val.slice(0)
    } else {
      cpy = val
    }
    acc[k] = cpy
    return acc
  }
function copy(acc, k) {
    const val = x[k]
    let cpy
    if (Array.isArray(val)) {
      cpy = val.slice(0)
    } else {
      cpy = val
    }
    acc[k] = cpy
    return acc
  }
function copy ( acc , k ) { const val = x [ k ] let cpy if ( Array . isArray ( val ) ) { cpy = val . slice ( 0 ) } else { cpy = val } acc [ k ] = cpy return acc }
so far we only expect to deal with the following property types shallow Array, String, Number
so far we only expect to deal with the following property types shallow Array String Number