correction for code template consistency (#1536)

correction for code template consistency
This commit is contained in:
Alexey Pyltsyn 2019-10-29 17:59:44 +03:00 committed by GitHub
commit 7510263654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,7 +187,7 @@ The destructuring assignment also works with objects.
The basic syntax is:
```js
let {var1, var2} = {var1:…, var2…}
let {var1, var2} = {var1:…, var2:…}
```
We have an existing object at the right side, that we want to split into variables. The left side contains a "pattern" for corresponding properties. In the simple case, that's a list of variable names in `{...}`.