Skip to content

Commit 06d3336

Browse files
authored
Fix code example
1 parent c29a54e commit 06d3336

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
@@ -166,7 +166,7 @@ function getFruitsCount() {
166166
Sets a variable in a declarative way, with value `A` to value `B`.
167167

168168
```js
169-
const fruits = 0
169+
let fruits = 0
170170

171171
function setFruits(nextFruits) {
172172
fruits = nextFruits

0 commit comments

Comments
 (0)