We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6596ef3 commit 0d97f7eCopy full SHA for 0d97f7e
1 file changed
README.md
@@ -7,8 +7,11 @@ This Contains Javascript Files
7
- prompt() is a method of the Global window object found in browsers. It's not part of the JavaScript language.
8
- window object is not defined in this environment.
9
- Step 1: npm init
10
+
11
Step 2: npm install prompt-sync
12
13
Step 3: Open the js file (name.js) in which you want to use prompt and import the prompt-sync as given below. (on line 1)
14
15
eg: const prompt = require("prompt-sync")();
16
17
0 commit comments