how to access query string in javascript code example
Example 1: get query param javascript
const urlParams = new URLSearchParams(window.location.search);
const myParam = urlParams.get('myParam');
Example 2: js query string
const urlParams = new URLSearchParams(window.location.search);
const myParam = urlParams.get('myParam');