does expressjs documentation have a meaning?

Square Brackets in general are optional arguments. Nested square brackets like this mean that they are optional, but may only be used if the parent square bracket’s argument is also given.

For example, host is optional, but may only be supplied if port is supplied. And also, Backlog is optional, but may only be supplied if host (and port) are given. Callback is outside of these nested Square brackets, and may be supplied or ommited no matter which other arguments are used.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top