From d6f5c055aab804e87367ab9633fb1e9a23c6e053 Mon Sep 17 00:00:00 2001 From: Filipe Moraes Date: Tue, 23 Nov 2021 22:52:43 -0300 Subject: Fix Typos (#3190) * fix: typos * fix: another typo --- .../javascript/reference/operators/destructuring_assignment/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/pt-br/web/javascript/reference/operators/destructuring_assignment') diff --git a/files/pt-br/web/javascript/reference/operators/destructuring_assignment/index.html b/files/pt-br/web/javascript/reference/operators/destructuring_assignment/index.html index 2b45f9ee47..7a75d8630e 100644 --- a/files/pt-br/web/javascript/reference/operators/destructuring_assignment/index.html +++ b/files/pt-br/web/javascript/reference/operators/destructuring_assignment/index.html @@ -96,7 +96,7 @@ console.log(b); // 1

Sempre foi possível retornar uma matriz de uma função. A desestruturação pode tornar mais conciso o trabalho com um valor de retorno do tipo array.

-

Neste exemplo, f() returna os valores [1, 2] como saída, que podem ser analisados em uma única linha com desestruturação.

+

Neste exemplo, f() retorna os valores [1, 2] como saída, que podem ser analisados em uma única linha com desestruturação.

function f() {
   return [1, 2];
-- 
cgit v1.2.3-54-g00ecf