Skip to content

cotrForOfLoop

Iterates over an iterable object

Aliases:

  • cotrForOfLoop

javascript

for (const item of iterable) {
// Your code here
}

javascriptreact

for (const item of iterable) {
// Your code here
}

rust

for item in iterable {
// Your code here
}

typescript

for (const item of iterable) {
// Your code here
}

typescriptreact

for (const item of iterable) {
// Your code here
}