Fix typo in default values section

This commit is contained in:
Nick Pridorozhko 2017-11-01 15:00:48 +02:00 committed by GitHub
parent 0c9f223716
commit fd567c2da3
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 ```js
// Result: // Result:
// math === 22, sci === 23, arts === 50 // math === 22, sci === 33, arts === 50
``` ```
Default values can be assigned while destructuring arrays or objects. Default values can be assigned while destructuring arrays or objects.