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
toybox
lambdatest
partial-classes
sitecore6
swank
status
firebug-lite
pipeline
apple-business-chat
ngx-international-phone-number
jsonslurper
parse-ios-sdk
jemalloc
mysql-error-2013
angular-cdk-drag-drop
multiple-entries
pprof
postman-newman
webinar
manifest.mf
typolink
assimp
difftime
android-datepicker
trigraphs
serilog
google-admin-sdk
gtts
youtrack
hybris-data-hub