title: Calling object method within the object—error: cannot read property of undefined
body: <p>I'm trying to call <code>getQuestions()</code> inside the same object it is a method of. But when I try to read the quizz.config.allQuestions property, I get an error message reading "Uncaught TypeError: Cannot read property 'getQuestions' of undefined." Is there something I am missing here?</p>
  
  <pre><code>var quizz = {
      config: {
          urlJSON: 'questions.json',
          allQuestions: quizz.getQuestions()
      },
  
      getQuestions: function() {
          $.getJSON(quizz.config.urlJSON, function(questions) {
          return questions;
          });
      }
  };
  </code></pre>