currentBrowserRoute
currentBrowserRoute():
string|null
The browser’s current route — window.location.pathname, normalized.
null outside a browser (SSR, server runtimes, workers without location).
Returns
Section titled “Returns”string | null