Closed johhnry closed 11 months ago
The global prompt() function can return null as described in the documentation.
prompt()
null
Quote:
Returns the value of the text edit field if the user clicked OK, null if the user clicked Cancel.
The global
prompt()
function can returnnull
as described in the documentation.Quote: