javascriptGet pathname of URL
(new URL(some_url)).pathnamectrl + c| new URLcreate native JS URL object to parse specified URL | some_urlURL to parse | 
| pathnamereturns pathname of specified URL | |
Usage example
console.log( (new URL('https://example.org/test?id=1')).pathname )"/test"
group: url_components