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

8 lines
88 B

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