Created
May 17, 2015 20:27
-
-
Save tmcw/2b66a1bf7bf434c9506b to your computer and use it in GitHub Desktop.
Gist from mistakes.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('https://cdnjs.cloudflare.com/ajax/libs/immutable/3.7.2/immutable.min.js'); | |
var myself = Immutable.Map({ name: 'Tom' }); | |
var someoneElse = myself; | |
myself = myself.set('name', 'Thomas'); | |
someoneElse; | |
myself; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment