Created
July 2, 2020 09:22
-
-
Save paulmwatson/fce477082e7610a4ac46af14dca3a6df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const protocol = document.location.protocol | |
const host = document.location.host | |
const search = document.location.search | |
... | |
const { protocol, host, search } = document.location |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment