Coding task · Svelte and SvelteKit course · Module 7: Lifecycle

Practice: Event Listener Cleanup

Add cleanup for the event listener

Task

Complete the code to remove the event listener on unmount