Hacker News new | past | comments | ask | show | jobs | submit login

I've recently started doing this as well. You also get a performance boost if you define the functions once at the top and then do this:

   request.on('data', requestReceivedData)



Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: