for(let i=0; i<files.length; i++){
<Home attributeApp={carsArray} />
<CarsList attributeCarsList={carsArray}/>
var karta = [
['stop', {}, 1],
lvl == "12" ? ['qwe'] : ['step', "up", { x: 2, y: 1 }, 2],
lvl == "12" ? ['qwe'] : ['step', "up", { x: 2, y: 1 }, 2],
['stop', {}, 3]
]
client.on('message', message => {
if (!message.guild) return;
if (message.content === prefix + 'join') {
if (message.member.voiceChannel) {
message.member.voiceChannel.join()
.then(connection => {
message.reply('...');
const dispatcher = connection.playFile('./Pedrina y Rio - Enamorada.mp3');
dispatcher.on('end', () => {});
dispatcher.on('error', e => {
console.log(e);
});
})
.catch(console.log);
} else {
message.reply('...');
}
}
});
<td class="${n.eyeColor}">${n.eyeColor} <div id = 'eyeColor'; style = 'width: 20px; height: 20px; border-radius: 50%; background-color: ${n.eyeColor}; margin: 0 auto;'></td>
const timer = subject => new Promise(res => setTimeout(_=> {
res(subject);
}, 2000));
async function dohomework(subject, callback){
let res = await timer(subject);
alert(res);
callback();
}
function f() {
alert('finished homework');
}
dohomework('math', f);
function dohomework(subject, callback){
timer(subject).then(data => {
alert(data);
callback();
});
}