Skip to content

Commit cea75d1

Browse files
committed
variables example - moved length declaration to newline
1 parent ce104ea commit cea75d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,8 @@
371371
var items = getItems(),
372372
goSportsTeam = true,
373373
dragonball,
374-
i, length;
374+
i,
375+
length;
375376
```
376377
377378
- Assign variables at the top of their scope. This helps avoid issues with variable declaration and assignment hoisting related issues.

0 commit comments

Comments
 (0)