echo "<div class=$blocks[$key]> ". (is_array($items) ? implode($items) : $items) ."</div>";
'use strict';
async function indexOne() {
let a = '1';
console.log(a);
await new Promise(resolve => setTimeout(resolve, 3000));
}
async function indexTwo() {
let a = '2';
console.log(a);
}
(async function(){
await indexOne();
await indexTwo();
})().catch(console.error);