We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7edea03 commit a82b420Copy full SHA for a82b420
test/pummel/test-net-pause.js
@@ -45,7 +45,7 @@ const server = net.createServer((connection) => {
45
server.on('listening', () => {
46
const client = net.createConnection(common.PORT);
47
client.setEncoding('ascii');
48
- client.on('data', function(d) {
+ client.on('data', (d) => {
49
console.log(d);
50
recv += d;
51
});
0 commit comments