UNPKG
newbymikhail
Version:
latest (1.7.0)
1.7.0
1.6.1
1.6.0
1.5.1
1.5.0
1.4.14
1.4.13
1.4.12
1.4.11
1.4.10
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.0.2
1.0.0
brain-games project for student
github.com/mixa63rus/project-lvl1-s304
mixa63rus/project-lvl1-s304
newbymikhail
/
src
/
index.js
8 lines
(6 loc)
•
224 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
readlineSync
from
'readline-sync'
;
export
default
() => {
console
.
log
(
'Welcome to the Brain Games!\n'
);
const
name = readlineSync.
question
(
'May I have your name? '
);
console
.
log
(
`Hello,
${name}
!\n`
); };