jsUri
jsUri copied to clipboard
Query Parameters should not need x=y format
I'm not sure this is debatable (though URI.js does it) that adding query string parameters can just have a single value - for example "&link" and not necessarily "&link=true"
If you pass only one arg to jsUri addQueryParameter you get the worst possible outcome: "&link=" But I this should produce just "&link"
new Uri(url).addQueryParam('link').toString()