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
for-await
vertex-shader
tomcat9
camera
attribution
azure-maps
clickatell
vax
renviron
anaconda
stable-baselines
recovery-id
intelephense
vcpkg
function-constructor
react-native-background-fetch
oomph
android-wake-lock
android-x86
angular-masonry
program-flow
shinytree
boost-range
dbmail
codepages
phonegap-cli
huawei-developers
parseexception
uitypeeditor
osgi-fragment