From dafc9250d0fe25c34ea8cdc2151d6e52a9798f93 Mon Sep 17 00:00:00 2001 From: joaquinelio Date: Mon, 14 Nov 2022 09:37:01 -0300 Subject: [PATCH] the output is 0 --- 1-js/02-first-steps/08-operators/article.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/1-js/02-first-steps/08-operators/article.md b/1-js/02-first-steps/08-operators/article.md index c297f3dccd..d52c37a172 100644 --- a/1-js/02-first-steps/08-operators/article.md +++ b/1-js/02-first-steps/08-operators/article.md @@ -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 **