title: If Functions are objects in javascript, why the function.constructor points to Function instead of Object?
body: <p>When creating the following function from the window object like this,</p>
  
  <pre><code>         function userInfo() {};
  </code></pre>
  
  <p>how come the userInfo.constructor displays Function instead of Object since functions are objects?</p>
  
  <p>It even display Function instead of Object when using the following,</p>
  
  <pre><code>         Function.constructor
  </code></pre>