simple enough task but this returns an error message and the "hint" leaves a lot to be desired as far as helpfulness.
and i took the space out between "prompt" and the first parenthesis so it isn't that.
Does a prompt popup show?
Is your browser blocking it?
Are you pressing cancel?
no prompt popup shows up
my browser hasn't blocked any other popup
where is cancel?
If nothing shows up when you run that, then that suggests that your browser blocked it.
You can fool it by adding a string afterwards, so that the result becomes that string instead of the result of the prompt which you aren't getting
adding a string fixed it. Thank you.
I had the same issue and adding the string helped. This was really useful, thank you ionatan
Thanks, that helped!