#
Size: a a a
#
РК
КТ
A
ST
j
🎭
AP
🎭
#
j
const nodeList = [dom1, dom2, dom3]
nodeList.forEach((node) => {
node.addEventListener('click', () => {
console.log(node)
})
})
j
A
SI
AV
sections.forEach(async section => {
try {
await myArticle.related('section').create({ sectionId: section });
} catch (err) {
throw err;
}
});
for (const section of sections) {
await myArticle.related('section').create({ sectionId: section });
}
j
sections.forEach(async section => {
try {
await myArticle.related('section').create({ sectionId: section });
} catch (err) {
throw err;
}
});
for (const section of sections) {
await myArticle.related('section').create({ sectionId: section });
}
AV
j
AV
for (let i = 0; i < sections.length; i++) {
await myArticle.related('section').create({ sectionId: section[i] });
}