40 275
ediciones
m (ooops) |
m (ooops) |
||
gcmtype: "page",
}).then(function (response) {
const all = {};
for (const id of response.query.pageids) {
const page = response.query.pages[id];
all[page.title] = page.categories.map(function(o){ return o.title});
}
console.log(all)
|