Fixing the syntax typo in prompt
This commit is contained in:
parent
0789e3833d
commit
1728f97425
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue