You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -516,6 +516,7 @@
516
516
| 484 | [What are WeakRef and FinalizationRegistry used for?](#what-are-weakref-and-finalizationregistry-used-for) |
517
517
| 485 | [What are logical assignment operators?](#what-are-logical-assignment-operators) |
518
518
| 486 | [What is the Temporal API and why is it proposed as a replacement for Date?](#what-is-the-temporal-api-and-why-is-it-proposed-as-a-replacement-for-date) |
519
+
| 487 | [What is the difference between for loop and forEach](#what-is-the-difference-between-for-loop-and-foreach) |
519
520
<!-- TOC_END -->
520
521
521
522
<!-- QUESTIONS_START -->
@@ -10918,7 +10919,7 @@ Common use cases and benefits:
10918
10919
**[⬆ Back to Top](#table-of-contents)**
10919
10920
10920
10921
10921
-
479. ### What is the difference between for loop and forEach
10922
+
487. ### What is the difference between for loop and forEach
10922
10923
10923
10924
Both are used to iterate over arrays, but they differ in performance, flexibility, and purpose.
0 commit comments