Skip to content

Commit 0bc4262

Browse files
authored
syntax fix
1 parent 06d3336 commit 0bc4262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Sets a variable back to its initial value or state.
182182

183183
```js
184184
const initialFruits = 5
185-
const fruits = initialFruits
185+
let fruits = initialFruits
186186
setFruits(10)
187187
console.log(fruits) // 10
188188

0 commit comments

Comments
 (0)