without a library, your loop works just fine
# suitescript
e
without a library, your loop works just fine