diff options
| author | Carolyn Wu <87150472+cw118@users.noreply.github.com> | 2022-03-03 02:35:24 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-03 08:35:24 +0100 |
| commit | 581e6fb5827a5450e295c91250dd0563a3c9251a (patch) | |
| tree | 801de6432e274e1a53bb3b1f6151e447915ffda8 /files/fr/web/javascript/reference/global_objects/math/log2 | |
| parent | da1500b5765037b2ec3db0190f3accac453c6d96 (diff) | |
| download | translated-content-581e6fb5827a5450e295c91250dd0563a3c9251a.tar.gz translated-content-581e6fb5827a5450e295c91250dd0563a3c9251a.tar.bz2 translated-content-581e6fb5827a5450e295c91250dd0563a3c9251a.zip | |
Markdown fixes part 4 (fr/web/js) (#4373)
* Fix MD038, no spaces in code spans
* Fix MD037/39, no spaces in emphasis/link text
* Missed markdown fixes in code spans
* Bold formatting correction
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/math/log2')
| -rw-r--r-- | files/fr/web/javascript/reference/global_objects/math/log2/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/math/log2/index.md b/files/fr/web/javascript/reference/global_objects/math/log2/index.md index 8d9d91c64b..20cb391a97 100644 --- a/files/fr/web/javascript/reference/global_objects/math/log2/index.md +++ b/files/fr/web/javascript/reference/global_objects/math/log2/index.md @@ -36,7 +36,7 @@ Le logarithme en base 2 du nombre passé en argument. Si ce nombre est négatif, Si `x` est strictement inférieur à 0, la valeur renvoyée sera {{jsxref("NaN")}}. -`log2()` étant une méthode statique de `Math`, il faut utiliser `Math.log2()` et non pas la méthode d'un autre objet qui aurait été créé (`Math `n'est pas un constructeur). Si on souhaite utiliser des constantes, on pourra employer {{jsxref("Math.LOG2E")}} ou {{jsxref("Math.LN2")}}. +`log2()` étant une méthode statique de `Math`, il faut utiliser `Math.log2()` et non pas la méthode d'un autre objet qui aurait été créé (`Math` n'est pas un constructeur). Si on souhaite utiliser des constantes, on pourra employer {{jsxref("Math.LOG2E")}} ou {{jsxref("Math.LN2")}}. ## Exemples |
