Update es6.md

Typo
This commit is contained in:
Slade 2017-10-30 08:17:28 +02:00 committed by GitHub
parent 0c9f223716
commit b41cf2a5d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
es6.md
View File

@ -212,7 +212,7 @@ var [math = 50, sci = 50, arts = 50] = scores
```js
// Result:
// math === 22, sci === 23, arts === 50
// math === 22, sci === 33, arts === 50
```
Default values can be assigned while destructuring arrays or objects.