Skip to content

Commit

Permalink
the output is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinelio authored Nov 14, 2022
1 parent 8d9ecb7 commit dafc925
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 1-js/02-first-steps/08-operators/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ The result of `a % b` is the [remainder](https://en.wikipedia.org/wiki/Remainder
For instance:

```js run
alert( 5 % 2 ); // 1, a remainder of 5 divided by 2
alert( 8 % 3 ); // 2, a remainder of 8 divided by 3
alert( 8 % 4 ); // 2, 0 remainder of 8 divided by 4
alert( 5 % 2 ); // 1, the remainder of 5 divided by 2
alert( 8 % 3 ); // 2, the remainder of 8 divided by 3
alert( 8 % 4 ); // 0, the remainder of 8 divided by 4
```

### Exponentiation **
Expand Down

0 comments on commit dafc925

Please sign in to comment.