title: Function call or definition inside object scope?
body: <p>While going through VueJS sources I've come across <a href="https://github.com/vuejs/vue/blob/master/test/unit/features/options/inject.spec.js" rel="nofollow noreferrer">this piece</a>:</p>
  
  <pre><code>  const injectedComp = {
      inject: ['foo', 'bar'],
      render () {},
      created () {
        injected = [this.foo, this.bar]
      }
    }
  </code></pre>
  
  <p>My question is - what are <code>render ()</code> and <code>created ()</code> - function calls? definitions? something else? What exactly is happening in there?</p>