From 5a3df7c19d8877971694b33e14c41f0d8ad239c3 Mon Sep 17 00:00:00 2001 From: AmberShards Date: Thu, 18 Dec 2025 15:36:42 -0500 Subject: [PATCH] Update Iterators and Generators.md Added "the" and a comma for clarity. --- .../documentation/copy/en/reference/Iterators and Generators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/documentation/copy/en/reference/Iterators and Generators.md b/packages/documentation/copy/en/reference/Iterators and Generators.md index d8abda1e4ef1..a8e0a41b6e4a 100644 --- a/packages/documentation/copy/en/reference/Iterators and Generators.md +++ b/packages/documentation/copy/en/reference/Iterators and Generators.md @@ -54,7 +54,7 @@ for (let i of list) { ``` Another distinction is that `for..in` operates on any object; it serves as a way to inspect properties on this object. -`for..of` on the other hand, is mainly interested in values of iterable objects. Built-in objects like `Map` and `Set` implement `Symbol.iterator` property allowing access to stored values. +`for..of` on the other hand, is mainly interested in values of iterable objects. Built-in objects like `Map` and `Set` implement the `Symbol.iterator` property, allowing access to stored values. ```ts let pets = new Set(["Cat", "Dog", "Hamster"]);