mirror of
https://github.com/nodejs/node.git
synced 2025-05-08 01:35:51 +00:00

PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
7 lines
128 B
JavaScript
7 lines
128 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const net = require('net');
|
|
|
|
var sock = new net.Socket();
|
|
sock.end(); // Should not throw.
|