Nested.svelteのプロパティのデフォルト値を簡単に指定することができます。
Nested.svelte
<script> export let answer = 'a mystery'; </script>
answerプロパティなしで2つ目のコンポーネントを追加すると、デフォルト値にフォールバックします。
answer
<Nested answer={42}/> <Nested/>
Next: Spread props