From 204df3bcdbdee90fddec197b01dffa4adffb5c8e Mon Sep 17 00:00:00 2001 From: Zygnematophyce <39624027+Zygnematophyce@users.noreply.github.com> Date: Wed, 24 Nov 2021 07:43:21 +0100 Subject: Typofix (#3191) Small error in the placement of ";" in the last example. --- files/fr/web/javascript/reference/global_objects/number/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/fr/web/javascript/reference/global_objects/number/index.md b/files/fr/web/javascript/reference/global_objects/number/index.md index 67e0253224..20cf98dfc1 100644 --- a/files/fr/web/javascript/reference/global_objects/number/index.md +++ b/files/fr/web/javascript/reference/global_objects/number/index.md @@ -140,7 +140,7 @@ Number("0b11"); // 3 Number("0o11"); // 9 Number("toto"); // NaN Number("100a"); // NaN -Number("-Infinity";) // -Infinity +Number("-Infinity"); // -Infinity ``` > **Note :** On pourra également convertir `null` en `0` grâce à `Number` : `Number(null)` donnera `0`. -- cgit v1.2.3-54-g00ecf