Skip to content

Aliza lab#5

Open
aliza89p wants to merge 5 commits into
sea-401d5-javascript:masterfrom
aliza89p:aliza-lab
Open

Aliza lab#5
aliza89p wants to merge 5 commits into
sea-401d5-javascript:masterfrom
aliza89p:aliza-lab

Conversation

@aliza89p
Copy link
Copy Markdown

No description provided.

Comment thread aliza/server.js
const stream = require('stream');

http.createServer((req, res) => {
if (req.url === '/notes' && req.method === 'GET'){
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good - if you have some time we could talk about how to refactor to using returns instead of if/then/else. I

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