Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enes Node.Js Week 1 HW #349

Closed

Conversation

eneserdek
Copy link

…e Is Required in server.Js

@eneserdek eneserdek changed the title Enes Week 1 Node.js A new File Is Created For Extensions and This Fil… Enes Week 1 May 15, 2019
@eneserdek eneserdek changed the title Enes Week 1 Enes Node.Js Week 1 HM May 15, 2019
@eneserdek eneserdek changed the title Enes Node.Js Week 1 HM Enes Node.Js Week 1 HW May 15, 2019
@remarcmij remarcmij mentioned this pull request May 16, 2019
74 tasks
Copy link

@eidosam eidosam left a comment

Choose a reason for hiding this comment

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

Good job Enes!

@@ -0,0 +1,30 @@
/* eslint-disable */
Copy link

Choose a reason for hiding this comment

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

Please don't disable Eslint, instead try to fix the lint errors/warnings if exist.

myStateFunction: function(request, response, state) {
function writeHeadAndStringify(code, value) {
response.writeHead(code, { 'Content-Type': 'application/json' });
typeof value === 'number'
Copy link

Choose a reason for hiding this comment

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

Wouldn't be easier if you test the code instead of the type of value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants