Skip to content
Permalink
Browse files
corrected the bracket notation example
  • Loading branch information
bordasb committed Nov 12, 2019
1 parent d4fc244 commit 2cf65679808f0a3be0e819df2ac32ba78676d683
Showing 1 changed file with 1 addition and 1 deletion.
@@ -112,7 +112,7 @@ Each value in an object can be extracted using one or two different syntaxes:

```javascript
const firstName = name.first
const lastName = name['last']
const lastName = name['last name']
const prop = year
const dobYear = name.dob.[prop]
```

0 comments on commit 2cf6567

Please sign in to comment.