aboutsummaryrefslogtreecommitdiff
path: root/files/fr
diff options
context:
space:
mode:
authorZygnematophyce <39624027+Zygnematophyce@users.noreply.github.com>2021-11-24 07:43:21 +0100
committerGitHub <noreply@github.com>2021-11-24 07:43:21 +0100
commit204df3bcdbdee90fddec197b01dffa4adffb5c8e (patch)
tree28a2bca8624c97c28583f212a202e318e6a36d72 /files/fr
parentd6f5c055aab804e87367ab9633fb1e9a23c6e053 (diff)
downloadtranslated-content-204df3bcdbdee90fddec197b01dffa4adffb5c8e.tar.gz
translated-content-204df3bcdbdee90fddec197b01dffa4adffb5c8e.tar.bz2
translated-content-204df3bcdbdee90fddec197b01dffa4adffb5c8e.zip
Typofix (#3191)
Small error in the placement of ";" in the last example.
Diffstat (limited to 'files/fr')
-rw-r--r--files/fr/web/javascript/reference/global_objects/number/index.md2
1 files changed, 1 insertions, 1 deletions
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`.