Skip to content

Commit 0d97f7e

Browse files
authored
Update README.md
1 parent 6596ef3 commit 0d97f7e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ This Contains Javascript Files
77
- prompt() is a method of the Global window object found in browsers. It's not part of the JavaScript language.
88
- window object is not defined in this environment.
99
- Step 1: npm init
10+
1011
Step 2: npm install prompt-sync
12+
1113
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+
1215
eg: const prompt = require("prompt-sync")();
1316

1417

0 commit comments

Comments
 (0)