header ids check
This commit is contained in:
parent
f01fbf9946
commit
70f77f403b
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ program = readlineSync.question('Which program starts do you want? :', {
|
||||||
input = readlineSync.prompt([options])
|
input = readlineSync.prompt([options])
|
||||||
```
|
```
|
||||||
|
|
||||||
Display a prompt-sign (see [`prompt`](#prompt-1) option) to the user, and then return the input from the user after it has been typed and an Enter key was pressed.
|
Display a prompt-sign (see [`prompt`](#options%3eprompt) option) to the user, and then return the input from the user after it has been typed and an Enter key was pressed.
|
||||||
You can specify an `options` (see [Options](#options)) to control the behavior (e.g. refusing unexpected input, avoiding trimming white spaces, etc.).
|
You can specify an `options` (see [Options](#options)) to control the behavior (e.g. refusing unexpected input, avoiding trimming white spaces, etc.).
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
@ -186,7 +186,7 @@ a6 = readlineSync.question('And you? :'); // It's limited to 2 th
|
||||||
|
|
||||||
The Object as `options` can have following properties.
|
The Object as `options` can have following properties.
|
||||||
|
|
||||||
### `prompt`
|
### `prompt`<a name="options>prompt"></a>
|
||||||
|
|
||||||
_For `prompt*` methods only_
|
_For `prompt*` methods only_
|
||||||
*Type:* string or others
|
*Type:* string or others
|
||||||
|
|
Loading…
Reference in a new issue