aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-br/web/javascript')
-rw-r--r--files/pt-br/web/javascript/guide/indexed_collections/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/pt-br/web/javascript/guide/indexed_collections/index.html b/files/pt-br/web/javascript/guide/indexed_collections/index.html
index 5e9cea67f9..07719a0535 100644
--- a/files/pt-br/web/javascript/guide/indexed_collections/index.html
+++ b/files/pt-br/web/javascript/guide/indexed_collections/index.html
@@ -174,7 +174,7 @@ cores.forEach(function(cor) {
<p>Alternativamente, você pode encurtar o código para o parâmetro do <code>forEach</code> com Arrow Functions ES6.</p>
-<pre class="notranslate"><code>var cores = ['vermelho', 'verde', 'azul'];
+<pre class="brush: js notranslate"><code>var cores = ['vermelho', 'verde', 'azul'];
cores.forEach(cor =&gt; console.log(cor));
// vermelho
// verde