new Server(port[, options])
What does this parameter mean?
port是必需的参数。options is an optional parameter, which can be passed or not.
port
options
If there are square brackets, it means 可选, if there is nothing, it means it must be passed
可选
port
是必需的参数。options
is an optional parameter, which can be passed or not.If there are square brackets, it means
可选
, if there is nothing, it means it must be passed