Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
nodejs-60-2
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pattadon Jaisin
nodejs-60-2
Commits
30e87671
Commit
30e87671
authored
Feb 07, 2018
by
uu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ขอคะแนนด้วยครับ
parent
783bef92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.js
week04/contact-manager/index.js
+2
-2
No files found.
week04/contact-manager/index.js
View file @
30e87671
// const lo = require('./logic.js');
// const lo = require('./logic.js');
// console.log(lo.toLower('
BASSSSS
'));
// console.log(lo.toLower('
LOGIC
'));
const
program
=
require
(
'commander'
);
const
program
=
require
(
'commander'
);
const
{
addContact
,
getContact
}
=
require
(
'./logic.js'
);
const
{
addContact
,
getContact
}
=
require
(
'./logic.js'
);
...
@@ -23,7 +23,7 @@ program
...
@@ -23,7 +23,7 @@ program
.
alias
(
'p'
)
.
alias
(
'p'
)
.
description
(
'ดูข้อมูลโปรแกรมเมอร์'
)
.
description
(
'ดูข้อมูลโปรแกรมเมอร์'
)
.
action
(()
=>
{
.
action
(()
=>
{
console
.
log
(
'programmer คือ
ศิวก
ร'
);
console
.
log
(
'programmer คือ
ใค
ร'
);
});
});
program
program
...
...
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