socket.emit(eventName[, ...args][, ack])
Hello everyone. I just had a simple question. When I'm reading through documentation. The thing I find a little confusing is what certain things mean. So I know if you have something like [, ack]
. That means it's optional but what about [, ...args]
. I'm guessing it means it's optional too and you can specify more than one argument but I'm not sure? If anyone could help me out and link me a good wiki/resource about understanding documentation or explain it. I'll gladly appreciate it.