Skip to content
Permalink
Browse files
Merge pull request web#26 from charle44/patch-6
fixed typo in 3.3
  • Loading branch information
aa7401 committed Oct 26, 2019
2 parents fbf8869 + 8b1f989 commit 59e3e7ffd93a01b093b0c9774d45b864de2f7e67
Showing 1 changed file with 1 addition and 1 deletion.
@@ -391,7 +391,7 @@ const last = employee['last name']
console.log(`${first} ${last}`)
```
In ECMA6 is is possible to extract multiple pieces of data into separate variables by destructuring using a [Desctructuring Assignment](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Object_destructuring). This is syntactically similar to creating object literals (see the example below).
In ECMA6 it is possible to extract multiple pieces of data into separate variables by destructuring using a [Desctructuring Assignment](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment#Object_destructuring). This is syntactically similar to creating object literals (see the example below).
```javascript
const employee = {

0 comments on commit 59e3e7f

Please sign in to comment.