I\'m trying to implement the inheritance with the module pattern in this way:
Parent = function () { //constructor (function construct () {
(function () { console.log("Child"); Parent.call(this, arguments); this.prototype = Object.create(Parent.prototype); })();
this refers to window, because you wrapped your code into a function. Remove the wrapping function or pass this as argument.
this
window