svelte/test/validator/ondestroy-arrow-this/input.html

8 lines
89 B

<script>
export default {
ondestroy: () => {
this.set({ a: 1 });
}
};
</script>