It depends on Object. If it is a function you want to use the new Object() method. If it is a "virtual class" (defined using Object = {someProperty: someValue}) then you use the second method.
Some more pointers in this page on prototype inheritance in JavaScript