When using a for...of loop with strings, each iteration will provide a single _______.

  • Character
  • Word
  • Line
  • Number
When using a for...of loop with strings, each iteration will provide a single character. This loop is useful for breaking down strings into individual characters for various processing tasks, such as counting characters or manipulating them individually.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *