Merge pull request #111 from cpxPratik/patch-3

Update article.md
This commit is contained in:
Ilya Kantor 2017-07-28 18:19:09 +02:00 committed by GitHub
commit 4c70900209

View file

@ -96,7 +96,7 @@ We covered 3 browser-specific functions to interact with the visitor:
: shows a message. : shows a message.
`prompt` `prompt`
: shows a message asking the user to input text. It returns the text or, if CANCEL or `key:Esc` is clicked, all browsers except Safari return `null`. : shows a message asking the user to input text. It returns the text or, if CANCEL or `key:Esc` is clicked, all browsers return `null`.
`confirm` `confirm`
: shows a message and waits for the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`. : shows a message and waits for the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`.