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
visual-c++-runtime
google-url-shortener
application-design
embla
servicemanager
foundry-code-repositories
google-app-engine-php
extract
gensym
react-konva
selectinput
lsf
terr
widestring
activepython
run-app
xdocreport
best-in-place
implicit-typing
zeek
shop
vscode-remote
kcov
filefield
azure-devops-wiki
adjustpan
custom-server-controls
nsdate
azure-managed-database
angular-in-memory-web-api