Skip to content

Commit 7045666

Browse files
authored
Merge pull request #2108 from vsemozhetbyt/ch-1-2-6
Fix typo in 1.2.6
2 parents a02f06c + dc5de48 commit 7045666

File tree

1 file changed

+1
-1
lines changed
  • 1-js/02-first-steps/06-alert-prompt-confirm

1 file changed

+1
-1
lines changed

1-js/02-first-steps/06-alert-prompt-confirm/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ It shows a modal window with a text message, an input field for the visitor, and
3131
: An optional second parameter, the initial value for the input field.
3232

3333
```smart header="The square brackets in syntax `[...]`"
34-
The square brackets around `default` in the syntax above denote that the parameter as optional, not required.
34+
The square brackets around `default` in the syntax above denote that the parameter is optional, not required.
3535
```
3636
3737
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`.

0 commit comments

Comments
 (0)