JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
    <head>
    </head>
    <body>
        <div id='audit'>           
        </div>
    </body>
</html>

JavaScript

//Audit Log for feedback
var Audit = $('#audit');
Audit.Log = function(msg){
    Audit.append("<p>"+msg+"</p>");
};

//constructor function
function Maker(){
    var str;
    
    this.init = function(str){
        this.str = str;
    };
    
    this.msg = function(){
        return this.str;
    };
}

//object from Maker
var obj = new Maker();

obj.init("Hi my name is Dan");

//make sure everything exists and has worked as expected
Audit.Log(obj.msg());
//look in Maker.prototype for the constructor property
Audit.Log(obj.constructor);
//look in Maker.prototype for the constructor property
Audit.Log(Maker.prototype.constructor);

//now look for all Makers prototype properties, this should list atleast "constructor"
for(var i in Maker.prototype){
    Audit.Log(i);
}
//why does it have no properties?