Skip to content

Commit

Permalink
Fix typo in 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemozhetbyt committed Sep 8, 2020
1 parent 58f6599 commit dc5de48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1-js/02-first-steps/06-alert-prompt-confirm/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ It shows a modal window with a text message, an input field for the visitor, and
: An optional second parameter, the initial value for the input field.

```smart header="The square brackets in syntax `[...]`"
The square brackets around `default` in the syntax above denote that the parameter as optional, not required.
The square brackets around `default` in the syntax above denote that the parameter is optional, not required.
```
The visitor can type something in the prompt input field and press OK. Then we get that text in the `result`. Or they can cancel the input by pressing Cancel or hitting the `key:Esc` key, then we get `null` as the `result`.
Expand Down

0 comments on commit dc5de48

Please sign in to comment.