We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4f1afd commit fac9385Copy full SHA for fac9385
1-js/02-first-steps/08-operators/article.md
@@ -52,6 +52,7 @@ For instance:
52
```js run
53
alert( 5 % 2 ); // 1, a remainder of 5 divided by 2
54
alert( 8 % 3 ); // 2, a remainder of 8 divided by 3
55
+alert( 8 % 4 ); // 2, 0 remainder of 8 divided by 4
56
```
57
58
### Exponentiation **
@@ -68,7 +69,7 @@ alert( 2 ** 3 ); // 23 = 8
68
69
alert( 2 ** 4 ); // 24 = 16
70
71
-Just like in maths, the exponentiation operator is defined for non-integer numbers as well.
72
+Just like in maths, the exponentiation operator is defined for non-integer numbers as well.
73
74
For example, a square root is an exponentiation by 1⁄2:
75
@@ -305,7 +306,7 @@ let n = 2;
305
306
307
n *= 3 + 5; // right part evaluated first, same as n *= 8
308
-alert( n ); // 16
309
+alert( n ); // 16
310
311
312
## Increment/decrement
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments