Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Welcome! require() some modules from npm (like you were using browserify)
- // and then hit Run Code to run your code on the right side.
- // Modules get downloaded from browserify-cdn and bundled in your browser.
- var timm = require('timm');
- var obj = {foo: ''};
- var newObj = timm.setIn(obj, ['foo', 'bar'], 'baz');
- console.log('the object is', newObj);
Add Comment
Please, Sign In to add comment