So, you want to implement JavaScript redirects, but you’re unsure how they work? Yes, they are more challenging to implement than standard redirects. Ideally, you should use 301s, 302s, or 307-based ...
Google updated its JavaScript SEO basics documentation to clarify that may skip rendering and JavaScript execution.