Skip to content

5일차 과제제출#36

Open
hammi1015 wants to merge 1 commit intoteam-jigun:hammi1015from
hammi1015:main
Open

5일차 과제제출#36
hammi1015 wants to merge 1 commit intoteam-jigun:hammi1015from
hammi1015:main

Conversation

@hammi1015
Copy link

5일차 과제제출

5일차 과제제출
Copy link
Collaborator

@dokdogalmaegi dokdogalmaegi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment 확인해주세요

const port = process.env.PORT || 3000;

app.get("/plus", (req, res) => {
let { value1, value2 } = getValue(req);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'let { value1, value2 } = req.query;'를 쓰지 않고, getValue라는 함수를 따로 분리한 이유가 무엇일까요?
getValue라는 함수에서 하고자 하는 Action이 무엇인지 정확히 보이지 않습니다.
getValue 함수를 분리하여야 했던 이유를 설명해주세요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants