Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
Project1-63
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lalita
Project1-63
Commits
9e0137f3
Commit
9e0137f3
authored
Jun 24, 2020
by
Lalita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add year
parent
d53c2e6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
readinfo.js
24 06 2020/readinfo.js
+6
-5
No files found.
24 06 2020/readinfo.js
View file @
9e0137f3
const
readline
=
require
(
'readline'
);
const
rl
=
readline
.
createInterface
({
input
:
process
.
stdin
,
output
:
process
.
stdout
});
const
rl
=
readline
.
createInterface
({
input
:
process
.
stdin
,
output
:
process
.
stdout
});
console
.
log
(
'Hello world'
);
//print('hello world');
rl
.
close
();
\ No newline at end of file
rl
.
question
(
'กรอกปีเกิด '
,
(
year
)
=>
{
console
.
log
(
'ตอนนี้อายุ ${2563-year} ปี'
);
rl
.
close
();
})
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment