Collections and Iteration
A collection is a group of zero or more values stored together, like a list, a set, or a table, and iteration means going through the items in a collection one at a time, usually with a loop, instead of writing separate code for each one. A loop does not have to work through every single item to count as iterating, since code can stop early, for example as soon as it finds the specific item it was looking for. Iterating over a collection does not always follow the collection's own stored order, since some collections, like sets, are not guaranteed to keep any particular order at all, so what "the next item" means can depend on the specific collection.
This explanation is AI-generated and can occasionally be wrong.
Vibistic AI
🔒 We never store your messages. The free built-in AI runs through Vibistic's own server, on Cloudflare's own AI infrastructure. You can also add your own API key to send messages straight from your browser to your AI provider instead.
Your notes
Test your knowledge
This test is AI-generated and can occasionally be wrong. If something looks off, use Report below.
No API key configured yet. Clicking below will ask whether to add one or take a free version of this test when one is available.