When I write the code like this, it works:
<script>
export default {
    props: ["notes"],
    computed: {
      hasNotes() { return this.notes && this.notes.some(x => x); }
    }
};
</script>
but when I write it like this, it fails:
<script>
export default {
    props: ["notes"],
    computed: {
      hasNotes : ()=> this.notes && this.notes.some(x => x)
    }
};
</script>
... and I don't understand why. What am I doing wrong here?
 
    