Open nickdesaulniers opened 11 years ago
this makes it easier to reuse code from Node.js in the browser, where Node's API expects port first since the host could be optional (localhost) and optional arguments can't come before required ones.
localhost
I don't have a strong opinion here and I can do this change if there are no objection from anyone else.
this makes it easier to reuse code from Node.js in the browser, where Node's API expects port first since the host could be optional (
localhost
) and optional arguments can't come before required ones.