Created
May 23, 2019 13:22
-
-
Save smitroshin/ea2ff6b7fce3e3702c15f46ea27e435c to your computer and use it in GitHub Desktop.
This file contains 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 urlString = window.location.href; | |
const url = new URL(urlString); | |
const urlParamLang = url.searchParams.get('param'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment