Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js url

var url = new URL('http://megaimkon.loc/storage/photos/all_users/slider-1.jpg');

console.log(url.pathname) 
 
PREVIOUS NEXT
Tagged: #js #url
ADD COMMENT
Topic
Name
8+2 =