Snippets Collections
 const searchParams = new URLSearchParams(window.location.search);
  const id = searchParams.get('id');
  console.log(id)
star

Tue Mar 21 2023 06:14:02 GMT+0000 (Coordinated Universal Time)

#searchparams #url #search #id

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension