How to Get URL Parameter with JS

 

const value = new URL(window.location.href).searchParams.get('someParam');

 

    code

    javascript

    parameter

 

Nodejs-module-export_


All Articles