Url query parameter

Front end code:

// For full API documentation, including code examples, visit Velo API Reference - Wix.com
import wixLocation from ‘wix-location’;
let query = wixLocation.query;
console.log(query);
console.log(query.formCode);
$w.onReady( function () {
});

https://domain/?formCode =1234
console.log is 1234

https://domain/?formCode=#wDeVcozRHv0wHHfXi4bHt5fGY1b6jWi-j8S6Q6ev0Rs$*
console.log is undefined

What can we do?

Probably because it is seeing the # after the = and it is not accepting it as it is not an array, number or string, or as the character # can be used to further specify a subsection (or fragment) of a document.

How to solve it to capture the string #wDeVcozRHv0wHHfXi4bHt5fGY1b6jWi-j8S6Q6ev0Rs$* ?