Skip to content

Commit 1bf2e8c

Browse files
Fixed a typo
retured => returned
1 parent ce45bae commit 1bf2e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/07-operators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Operators `++` and `--` can be placed both after and before the variable.
268268
269269
Both of these records do the same: increase `i` by `1`.
270270
271-
Is there any difference? Yes, but we can only see it if we use the retured value of `++/--`.
271+
Is there any difference? Yes, but we can only see it if we use the returned value of `++/--`.
272272
273273
Let's clarify. As we know, all operators return a value. Increment/decrement is not an exception here. The prefix form returns the new value, while the postfix form returns the old value (prior to increment/decrement).
274274

0 commit comments

Comments
 (0)