Check out example codes for "vbscript for each loop". It will help you in understanding the concepts better.

Code Example 1

For Each item In items
   ...
   If exitNow = True Then
      Exit For
   End If
Next

Learn ReactJs, React Native from akashmittal.com