mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
`string` is kept for backward compatibility (and `location.port` is a string). Reference: https://developer.mozilla.org/en-US/docs/Web/API/Location/port Related: https://github.com/socketio/socket.io-client/issues/1444