Fix typos

This commit is contained in:
Thomas Broadley
2017-12-15 07:30:03 -05:00
parent aef74133e2
commit bbed04f0c9
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
### Shallow clone object
Use `Object.assign()` and an empty object (`{}`) to create a shallo clone of the original.
Use `Object.assign()` and an empty object (`{}`) to create a shallow clone of the original.
```js
const shallowClone = obj => Object.assign({}, obj);