Commit cca8de67 authored by cjihrig's avatar cjihrig
Browse files

net: remove use of arguments in Server constructor



The current implementation uses the arguments object in the Server()
constructor. Since both arguments to Server() are optional, there was a
high likelihood of accessing a non-existent element in arguments, which
carries a performance overhead. This commit replaces the arguments
object with named arguments.

Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>

Conflicts:
	lib/net.js
parent 4ca7cca8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment