Iteration

Iteration follows the standard AssemblyScript format:

// set i to a type u64
for (let i: u64 = startIndex; i < someValue; i++) {
  // do stuff
}

Lesson discussion

Swap insights and ask questions about NEAR Developer Course

Be the first to start the discussion

Ask a question or share your thoughts about this lesson.