!!callback);
if (err && callback) {
// don't emit as error, dgram_legacy.js compatibility
- var ex = exceptionWithHostPort(err, 'send', address, port);
+ const ex = exceptionWithHostPort(err, 'send', address, port);
process.nextTick(callback, ex);
}
}