Clone Object in javascript ES5 with ES6 style:
Alternative names: clone

const obj = { spell : 'abracadabra' }
const NewObject = sb.assing(obj)
console.log(JSON.stringify(NewObject))
-> { "spell" : "abracadabra" }

results matching ""

    No results matching ""