Get the URL without any parameters in JavaScript | Simple code

Get the URL without any parameters in JavaScript | Simple code

More to explore

Based on this image's title: “Get the URL without any parameters in JavaScript | Simple code