Fixing the syntax typo in prompt

This commit is contained in:
Atul Soman 2019-04-09 14:09:55 +05:30 committed by GitHub
parent 0789e3833d
commit 1728f97425
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ The mini-window with the message is called a *modal window*. The word "modal" me
The function `prompt` accepts two arguments:
```js no-beautify
result = prompt(title[, default]);
result = prompt(title, [default]);
```
It shows a modal window with a text message, an input field for the visitor, and the buttons OK/CANCEL.