Para JavaScript de rango esperado
var total_pages = 13
var pages = [...Array(13).keys()];
for await(page of pages){
//
}
Ugliest Unicorn
var total_pages = 13
var pages = [...Array(13).keys()];
for await(page of pages){
//
}