title: In JavaScript, what is the ultimate root, Object or Function?
body: <p>In JavaScript is Object the root of all entities or Function is the root?  </p>
  
  <p>For example in the following source <a href="http://sidd-reddy.blogspot.com/2012/07/objects-functions-and-prototypes-in.html">objects-functions-and-prototypes-in.html</a>, first the author says "Every entity in Javascript is an object", and later it says "any new object can only be created as an instance of a function (even when you do 'var a = new Object;', Object is a function btw)".  The author is basically contradicting himself as far as I can see.  </p>
  
  <p>And I see the same chaotic comments in so many other resources on JavaScript. In Java it is easy, you know the first entity in any class Hierarchy is the Object class, but in JavaScript, all I see is chaos.</p>
  
  <p>So, can someone please clarify if Object comes first or Function? What is the root.  </p>