From 00e5c6b055d675de5640cf4b32d9e83bfcadc717 Mon Sep 17 00:00:00 2001 From: Fabian Marz Date: Wed, 10 Nov 2021 04:38:24 +0100 Subject: [PATCH] Fixed example exponentiation operator result. (#1504) --- concepts/arithmetic-operators/about.md | 2 +- concepts/arithmetic-operators/introduction.md | 2 +- exercises/concept/freelancer-rates/.docs/introduction.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/concepts/arithmetic-operators/about.md b/concepts/arithmetic-operators/about.md index badf35bf6b..1e48c22ce7 100644 --- a/concepts/arithmetic-operators/about.md +++ b/concepts/arithmetic-operators/about.md @@ -45,7 +45,7 @@ JavaScript provides 6 different operators to perform basic arithmetic operations It is the equivalent of using [`Math.pow()`][mdn-math-pow] ```javascript - 4 ** 3; // => 62 + 4 ** 3; // => 64 4 ** 1 / 2; // => 2 ``` diff --git a/concepts/arithmetic-operators/introduction.md b/concepts/arithmetic-operators/introduction.md index 1fc95bf5e9..73cfd28611 100644 --- a/concepts/arithmetic-operators/introduction.md +++ b/concepts/arithmetic-operators/introduction.md @@ -24,7 +24,7 @@ JavaScript provides 6 different operators to perform basic arithmetic operations - `**`: The exponentiation operator is used to raise a number to a power. ```javascript - 4 ** 3; // => 62 + 4 ** 3; // => 64 4 ** 1 / 2; // => 2 ``` diff --git a/exercises/concept/freelancer-rates/.docs/introduction.md b/exercises/concept/freelancer-rates/.docs/introduction.md index 07b05af6b5..7171f1948e 100644 --- a/exercises/concept/freelancer-rates/.docs/introduction.md +++ b/exercises/concept/freelancer-rates/.docs/introduction.md @@ -36,7 +36,7 @@ JavaScript provides 6 different operators to perform basic arithmetic operations - `**`: The exponentiation operator is used to raise a number to a power. ```javascript - 4 ** 3; // => 62 + 4 ** 3; // => 64 4 ** 1 / 2; // => 2 ```