Re: [whatwg/url] Setting a port on a URL that cannot have a username/password/port should return the set value (#330)

You're just seeing the console output. If you actually test them, e.g. `assert_equals(url.port = 123, undefined)`, you'll find it's undefined.

It's actually impossible for setters in JavaScript to return values.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/330#issuecomment-312548557

Received on Monday, 3 July 2017 04:46:15 UTC