Skip to content

Commit

Permalink
Mention the -- operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip committed Feb 21, 2016
1 parent cc4953e commit 247fefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/en/2016-02-04-assignment-shorthands.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var b = ++a;

See? I put the operator _before_ the variable.

**Exercise:** find out what the `--` operator does!
The `--` operator is similar, except it decrements the value.

### If-else (Using ternary operator)

Expand Down

0 comments on commit 247fefd

Please sign in to comment.