aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/javascript/a_re-introduction_to_javascript
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/javascript/a_re-introduction_to_javascript')
-rw-r--r--files/fr/web/javascript/a_re-introduction_to_javascript/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/javascript/a_re-introduction_to_javascript/index.html b/files/fr/web/javascript/a_re-introduction_to_javascript/index.html
index 361e874d90..0724f02931 100644
--- a/files/fr/web/javascript/a_re-introduction_to_javascript/index.html
+++ b/files/fr/web/javascript/a_re-introduction_to_javascript/index.html
@@ -402,7 +402,7 @@ switch (action) {
<p>La clause <code>default</code> est optionnelle. Vous pouvez placer des expressions à la fois dans la partie <code>switch</code> et dans les cas à gérer si vous voulez ; les comparaisons entre les deux se font comme si on avait utilisé l'opérateur <code>===</code> :</p>
-<pre class="brush: js" id="les_objets">switch (1 + 3){
+<pre class="brush: js">switch (1 + 3){
case 2 + 2:
yay();
break;