For some reason, this has eluded me for a long time, but why do some api documentation list their arguments as such:
peripheral.discoverServices(serviceUUIDs[, callback(error, services)]);
(https://github.com/sandeepmistry/noble)
the arguments seem to be an array but not? What's the reasoning behind writing down an argument like this?