You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2022. It is now read-only.
` <h1>This element has items</h1>${this._items.map((item,i)=>` <div> I am item number ${i<10 ? '0'+(i+1) : i+1}. My name is ${item.name}. </div> `.trim()).join('')}`
The new version should be something like this :
` <h1>This element has items</h1>${renderLoop(this._items,(item,i)=>{return` <div> I am item number ${i<10 ? '0'+(i+1) : i+1}. My name is ${item.name}. </div>`}}`