Created
August 14, 2020 14:42
-
-
Save parzibyte/6af3076327aef7e0ed57c7de698b8c83 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 urlSearchParams = new URLSearchParams(window.location.search); | |
const id = urlSearchParams.get("id"); | |
console.log("El id es:", id); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment