Holen Sie sich ID aus dem Objekt
$catIds = array_map(function($o) { return $o->id;}, $objects);
calyCoder
$catIds = array_map(function($o) { return $o->id;}, $objects);
async function test (){
document.body.innerHTML = await "<foo id='successGetID'>Hello Wolrd</foo>";
var init = await document.getElementsByTagName("foo")[0].id;
alert( init );
}
test();