location.assign('') not same as location.assign('/')
location.assign('/') takes me to home page of site location.assign() does nothing (MS edge goes to home page) Not sure which is right, but would like consistency between browsers, for now using location.assign('/')
https://developer.mozilla.org/docs/Web/API/Location/assign says if you don't supply a valid URL, the browser will throw a syntax error.
Not sure, one browser says it is OK Firefox says not
I suggest using MDN and the caniuse site for cross-browser compatibility information.
Could you give me specific URL names?