Skip to content

Commit 46d9974

Browse files
Dorin-Davidpasor1
andauthored
Update 1-js/05-data-types/04-array/article.md
Co-authored-by: Simone Pasini <66781510+pasor1@users.noreply.github.com>
1 parent 92dd919 commit 46d9974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/04-array/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ Possiamo eseguire sugli arrays le seguenti operazioni:
504504

505505
Per iterare sugli elementi di un array:
506506

507-
- `gor (let i=0; i<arr.length; i++)` - il più veloce, compatibile con i vecchi browsers.
507+
- `for (let i = 0; i < arr.length; i++)` - il più veloce, compatibile con i vecchi browsers.
508508
- `for (let item of arr)` - la moderna sintassi, solo per gli elementi.
509509
- `for (let i in arr) ` - da non usare.
510510

0 commit comments

Comments
 (0)