<script> const persons = [ { name: 'Alice' }, { name: 'Bob'}, { name: 'Carol' } ]; </script> <main> {#each persons as p} <div>{p.name}</div> {/each} </main> <style> </style>