RunKit + npm: immutability-helper

node v10.24.1
endpointsharetweet
var update = require("immutability-helper"); const obj = {a: '123'} const obj2 = update(obj, { a: { $set: '123 ', }, }); console.log(obj === obj2); console.log(JSON.stringify(obj2))
Created from: https://npm.runkit.com/immutability-helper
Loading…