javascript get current window location without parameters

Solutions on MaxInterview for javascript get current window location without parameters by the best coders in the world

showing results for - "javascript get current window location without parameters"
Henri
15 Apr 2016
1const url = window.location.origin + window.location.pathname
2//http://example.com/somedir/somefile/
3
similar questions