I was trying some code at JSBin and got weird results. This should work - it's a simple loop that uses Window.prompt. It does execute the correct number of time
jalali-calendar
permanent
rectangles
connected-components
rnoaa
jwk
zapproxy
adfs3.0
grpcio
rawrabbit
swx
image-editor
isr
greenlets
genetic-algorithm
fiscal
microsoft.extensions.configuration
controller-tests
git-bundle
sql-server-on-linux
supertype
ciimage
database-permissions
aws-pipeline
django-sites
vscode-extensions
mongo-migrate-ts
settings
wicket-1.4
insertion-sort