I tried the following code snippet:
var man = new Object();
man = {sex : 'male'}
var child = new Object(man);
child.firstName = 'foo'
child.lastName = 'bar'
Object.getPrototypeOf(child);
This returns Object {}, while I expected it to return the object associated with man. However, this snippet:
var man = Object.create(null);
man = {sex : 'male'}
var child = Object.create(man);
child.firstName = 'foo'
child.lastName = 'bar'
Object.getPrototypeOf(child);
It does return the object associated with man. Conceptually, where am I going wrong?