Merge pull request #45 from maschwenk/patch-1

Should return all caps after toUpperCase()
This commit is contained in:
Rico Sta. Cruz 2017-02-27 06:25:53 +08:00 committed by GitHub
commit a4c8ff810b
1 changed files with 1 additions and 1 deletions

View File

@ -40,6 +40,6 @@ nested
.mergeDeep({ user: { profile: { age: 90 } } })
.setIn([ 'user', 'profile', 'name' ], 'Jack')
.updateIn([ 'user', 'profile', 'name' ], (s) => s.toUpperCase())
.getIn(['user', 'profile', 'name']) // 'Jack'
.getIn(['user', 'profile', 'name']) // 'JACK'
```