Browse Source

Do not assign to properties that only have getters

It is an error in strict mode, and silent failure otherwise.
v0.8.7-release
Jonas Westerlund 13 years ago
committed by Nathan Rajlich
parent
commit
e5bb8391a8
  1. 5
      lib/net.js

5
lib/net.js

@ -612,11 +612,6 @@ function afterWrite(status, handle, req) {
function connect(self, address, port, addressType, localAddress) {
if (port) {
self.remotePort = port;
}
self.remoteAddress = address;
// TODO return promise from Socket.prototype.connect which
// wraps _connectReq.

Loading…
Cancel
Save