diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-11 18:59:39 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-11 18:59:39 -0500 |
commit | d192fb918b0e2aa8869de6dcc59de8464b6e879a (patch) | |
tree | 3dc6f395a53be89041c52e9326baf908ffa3f3a6 /files/pt-br/web/javascript/guide/indexed_collections | |
parent | e3e12548adeb7e1dcfc4d5b32884a225ee2b499d (diff) | |
download | translated-content-d192fb918b0e2aa8869de6dcc59de8464b6e879a.tar.gz translated-content-d192fb918b0e2aa8869de6dcc59de8464b6e879a.tar.bz2 translated-content-d192fb918b0e2aa8869de6dcc59de8464b6e879a.zip |
dump 2020-12-11
Diffstat (limited to 'files/pt-br/web/javascript/guide/indexed_collections')
-rw-r--r-- | files/pt-br/web/javascript/guide/indexed_collections/index.html | 2 |
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 => console.log(cor)); // vermelho // verde |