Skip to content

Commit 5fbb8ef

Browse files
authored
Merge pull request lydiahallie#752 from iiAbady/patch-1
fix(118): operator not operand
2 parents 9d88527 + cd69479 commit 5fbb8ef

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
@@ -3865,7 +3865,7 @@ console.log(list[(num += 1)]);
38653865

38663866
#### Answer: B
38673867

3868-
With the `+=` operand, we're incrementing the value of `num` by `1`. `num` had the initial value `1`, so `1 + 1` is `2`. The item on the second index in the `list` array is 🥰, `console.log(list[2])` prints 🥰.
3868+
With the `+=` operator, we're incrementing the value of `num` by `1`. `num` had the initial value `1`, so `1 + 1` is `2`. The item on the second index in the `list` array is 🥰, `console.log(list[2])` prints 🥰.
38693869

38703870
</p>
38713871
</details>

0 commit comments

Comments
 (0)