Skip to content

Conversation

@nikoladev
Copy link
Contributor

window.prompt() doesn't return a boolean value, window.confirm() does :)

See https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm

@nikoladev nikoladev requested a review from a team December 12, 2018 11:05
@nikoladev nikoladev changed the title fix bug in example code Use correct function in example code Dec 12, 2018
@LekoArts
Copy link
Contributor

Hi 👋
Thanks for the PR! However David already opened up a PR for that:
#10431

Therefore I'm going to close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants