Answers for "svlete each index"

0

svlete each index

{#each cats as { id, name }, i}
    <li>
      <a target="_blank" href="https://www.youtube.com/watch?v={id}">
          {i + 1}: {name}
      </a>
   </li>
{/each}
Posted by: Guest on May-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language