Answers for "how to fetch parameter after '&' from the url in javascript"

9

js get url parameter

const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const code = urlParams.get('code')
Posted by: Guest on October-18-2020

Code answers related to "how to fetch parameter after '&' from the url in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language