re: Newbie guide: socket.IO VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Why are you using var?
 

As this is a newbie article on socket.IO, I wanted to make it accessible to all and focus on socket.IO, instead of explaining variable scope and hoisting so used the more familiar 'var'. In the socket.IO project I will use let and const

code of conduct - report abuse