Skip to content

Commit

Permalink
fixed tip n° 91 - missing an ' after 'react'
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgdb committed Sep 4, 2019
1 parent 65b30d0 commit 86699d6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -469,7 +469,7 @@ console.log(felipe) // ['corinthiano', 'maloqueiro', 'sofredor']
<b>91.</b> Para variáveis const serem imutáveis é necessário adicionar Object.freeze:

```js
const d2k = Object.freeze(['javascript', 'ninja', 'react])
const d2k = Object.freeze(['javascript', 'ninja', 'react'])
d2k.push('jquery') // Uncaught TypeError: Cannot add property 3, object is not extensible
```

Expand Down

0 comments on commit 86699d6

Please sign in to comment.