For the inheritance exercise it’s explained that Object.create(HtmlElement.prototype) doesn’t carry over the click function as it’s using the prototype which only has the focus function.
But why does Object.create(HtmlElement) not work? Surely it would create a new object with the click function and the HtmlElement prototype.