|
The Web API URL.username property returns a USVString containing the username specified before the domain name of the URL Syntax: var str = URL.username Return Value: This property returns a USVString containing the username specified before the domain name of the URL. Example 1: HTML
Output: Example 2: HTML
Output: Supported Browsers:
|
Reffered: https://www.geeksforgeeks.org
HTML |
Related |
---|
|
|
|
|
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |