Comment on 535 ways to reload the page with JavaScriptparentComments−simonw15yRegex this: window['loc' + 'ation']−Cushman15yNot to unduly humor the idea that I mean anything but the strings in that list, but my 'trivial' regex above turns that into a syntax error.
Comments
Regex this: window['loc' + 'ation']
Not to unduly humor the idea that I mean anything but the strings in that list, but my 'trivial' regex above turns that into a syntax error.