Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: immutability-helper
node v10.24.1
endpoint
share
tweet
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…
Clone and edit this document