Google Can Process JavaScript Redirects But Be Concerned About Other Search Engines
Google’s Gary Illyes said that Google Search can process JavaScript redirects but Google still does not recommend using JavaScript redirects because other search engines might not pick up on it.