title: What's the difference between document.get("nested.value"), document.get("nested").value and document.nested.value in Mongoose?
body: <p>Let's say I have a Schema and object like this:</p>
  
  <pre><code>var documentSchema = new mongoose.Schema({
      simple: { type: String },
      nested: {
          value: { type: Number }
      }
  };
  </code></pre>
  
  <p>What is the difference then between the following and which one should I use?</p>
  
  <pre><code>console.log( document.nested.value );
  console.log( document.get('nested').value );
  console.log( document.get('nested.value') );
  </code></pre>
  
  <p>They all produce the same result. I assume I should use <code>get()</code> but can someone explain why?</p>