Should return all caps after toUpperCase()

This commit is contained in:
Max Schwenk 2017-01-24 17:15:09 -08:00 committed by GitHub
parent 212bf44a31
commit 31e392465c
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'
```