api.URL.port

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 32 on 2014-01-14

In Chrome Android version 32 on 2014-01-15

In Deno version 1.0 on 2020-05-13

In Edge version 13 on 2015-11-12

In Firefox version 22 on 2013-06-25

In Firefox for Android version 22 on 2013-06-25

Not in Internet Explorer

In Node.js version 7.0.0 on 2016-10-25

In Quest Browser version 5.0 on undefined

In Opera version 19 on 2014-01-28

In Opera Android version 19 on 2014-01-28

In Safari version 10 on 2016-09-20

In Safari on iOS version 10 on 2016-09-13

In Samsung Internet version 2.0 on 2014-10-17

In WebView Android version 4.4.3 on 2014-06-02