diff options
Diffstat (limited to 'cli/tests/066_prompt.ts')
-rw-r--r-- | cli/tests/066_prompt.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/066_prompt.ts b/cli/tests/066_prompt.ts index 1c4a11f98..e3daa7ac0 100644 --- a/cli/tests/066_prompt.ts +++ b/cli/tests/066_prompt.ts @@ -12,6 +12,10 @@ const answer2 = confirm("Question 2"); // Answer with yes (returns false) console.log(`Your answer is ${answer2}`); const answer3 = confirm(); // Answer with default console.log(`Your answer is ${answer3}`); +const windows = prompt("What is Windows EOL?"); +console.log(`Your answer is ${JSON.stringify(windows)}`); alert("Hi"); alert(); console.log("The end of test"); +const eof = prompt("What is EOF?"); +console.log(`Your answer is ${JSON.stringify(eof)}`); |