Esto está en la etiqueta de script en mi html base
const arraypathname = [`array of paths`] var i = 0; ``` this function loops array of paths and should redirect on every path url from array with delay ``` function redirectFunc(){ setTimeout(function() { var path_to_redirect = arraypathname[i]; window.location.redirect(path_to_redirect); ``` this doesn work when i used alert() with path it work and every 3 sec i get alert with different path. Why windows.location.replace not working? ``` i++; if (i < 10) { redirectFunc(); } }, 3000) } ``` i have a base.html file witch is used on every page on my site and i want to do presentation script witch will loop through all paths on web with delay ```no sé por qué no funciona así cuando utilicé alert(path_to_redirect) cada 3 segundos me alerta con url