Skip to content

svelte each block but you care about key of object

just use object.entries. instead of this:

use:

jsx
{#each Object.entries(pokemon.sprites) as [spriteKey, image]}