From bfece18d898e4ccc34a1e60cd0a39d91d6ceed47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=B0=D1=82=D1=8C=D1=8F=D0=BD=D0=B0=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B5=D0=B2=D0=B0?= Date: Thu, 28 Sep 2023 11:30:15 +0300 Subject: [PATCH] add bin/brain-games.js --- bin/brain-games.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/brain-games.js b/bin/brain-games.js index 1e6a5f1..59a110a 100755 --- a/bin/brain-games.js +++ b/bin/brain-games.js @@ -1,3 +1,7 @@ #!/usr/bin/env node -console.log('Welcome to the Brain Games!'); \ No newline at end of file +console.log('Welcome to the Brain Games!'); + +import readlineSync from 'readline-sync'; + +const name = readlineSync.question('May I have your name? John');