I'm trying to get all the parameters in a URL even though they don't have a value using JavaScript.
http://example.com/?Germany&France&Norway&Sweden
This URL contains 4 parameters with the name of some countries. I want to get this list of countries in JavaScript, ideally as an array. There are many examples that retrieve the values from key-value parameters, where you have to provide the key and some Regex will return the value.