diff options
Diffstat (limited to 'files')
-rw-r--r-- | files/fr/web/javascript/reference/global_objects/number/index.md | 2 |
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`. |