Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there.
Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off.
Inspired by https://jsperf.com/replace-or-substr.
Note: could not get 'let' and 'const' to work. Well, too bad...
Mozilla/5.0 (Linux; Android 11; motorola one hyper) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.196 Mobile Safari/537.36 OPR/76.2.4027.73374