CodeNewbie Community 🌱

Discussion on: What Javascript features are the most confusing to you?

Collapse
 
cprlgeek profile image
Raksha A

I have the same experience. The new async/await syntax is much easier to use and understand.
I still struggle when I try to write chained promises but when I try the same with async/await, its easier for me.

const modalMarkup = `
`; // 2. Append the markup string to the end of the document body document.body.insertAdjacentHTML('beforeend', modalMarkup);