title: Vue JS: Difference of data() { return {} } vs data:() => ({ })
body: <p>I'm curious both of this data function, is there any difference between this two.</p>
  <p>I usually saw is</p>
  <pre><code>data () {
    return {
      obj
    }
  }
  </code></pre>
  <p>And ES6 fat arrow (<code>=&gt;</code>) which I typically used</p>
  <pre><code>data:()=&gt;({
    obj
  })
  </code></pre>