Просмотр исходного кода

Remove experimental file

master
Dylan Baker 5 лет назад
Родитель
Сommit
e045a21b34
1 измененных файлов: 0 добавлений и 17 удалений
  1. 0
    17
      repl.js

+ 0
- 17
repl.js Просмотреть файл

@@ -1,17 +0,0 @@
1
-const readline = require('readline')
2
-
3
-async function repl() {
4
-  let output
5
-
6
-  const rl = readline.createInterface({
7
-    input: process.stdin,
8
-    output: process.stdout,
9
-  })
10
-
11
-  rl.question('hello? ', line => {
12
-    console.log(`you said ${line}`)
13
-    rl.close()
14
-  })
15
-}
16
-
17
-repl()

Загрузка…
Отмена
Сохранить