Update article.md

Fix typo
This commit is contained in:
cpxPratik 2017-07-28 15:33:11 +05:45 committed by GitHub
parent 9b39291509
commit 42fb552329

View file

@ -96,7 +96,7 @@ We covered 3 browser-specific functions to interact with the visitor:
: shows a message.
`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`
: shows a message and waits for the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`.