Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6558fc8

Browse files
authored
Merge pull request#16 from mhizterkeyz/master
Fix code example
2 parentsc29a54e +0bc4262 commit6558fc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 2 deletions
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-
constfruits=0
169+
let fruits=0
170170

171171
functionsetFruits(nextFruits) {
172172
fruits= nextFruits
@@ -182,7 +182,7 @@ Sets a variable back to its initial value or state.
182182

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp