Skip to content

New JavaScript snippet: for..of - #1544

Open
caiangums wants to merge 1 commit into
honza:masterfrom
caiangums:master
Open

New JavaScript snippet: for..of#1544
caiangums wants to merge 1 commit into
honza:masterfrom
caiangums:master

Conversation

@caiangums

@caiangums caiangums commented Dec 25, 2025

Copy link
Copy Markdown

Similar to the for..in for objects, the for..of can be used with Iterable Objects such as Array, Map, and Set.

@caiangums

Copy link
Copy Markdown
Author

I found that this is already present at a different place in the javascript.snippets file (this line). I can change this to move this snippet to the # Flow control section of the file, or you can close this PR @honza 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant