aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/javascript/reference/errors/unexpected_token/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/javascript/reference/errors/unexpected_token/index.html')
-rw-r--r--files/fr/web/javascript/reference/errors/unexpected_token/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/javascript/reference/errors/unexpected_token/index.html b/files/fr/web/javascript/reference/errors/unexpected_token/index.html
index d9a4fc0512..771455c514 100644
--- a/files/fr/web/javascript/reference/errors/unexpected_token/index.html
+++ b/files/fr/web/javascript/reference/errors/unexpected_token/index.html
@@ -52,7 +52,7 @@ SyntaxError: expected '=>' after argument list, got "x"
<p>Il peut également arriver que des parenthèses manquent autour des instructions <code>if</code> :</p>
-<pre class="brush: js example-bad line-numbers language-js">function round(n, upperBound, lowerBound){
+<pre class="brush: js example-bad">function round(n, upperBound, lowerBound){
if(n &gt; upperBound) || (n &lt; lowerBound){
throw 'Number ' + String(n) + ' is more than ' + String(upperBound) + ' or less than ' + String(lowerBound);
}else if(n &lt; ((upperBound + lowerBound)/2)){