Svelte · Junior · Question 14 of 76
Where can runes be used?
- ✓Correct answer: In
.sveltefiles and in.svelte.js/.svelte.tsmodules - 2In any
.jsfile of the project - 3Only inside the
<script>of a component
Explanation
The .svelte.js extension tells the compiler to process runes, which allows reusable reactive logic outside components.