Power Constructor

// Power Constructor
// 1. Step one
function myPowerConstructor(x) {
    var that = otherMaker(x);
    // 2. Create secrec variable
    var secret = f(x);
    // 3. Create my privileged variable
    that.priv = function () {
        // secret x that    
    };
    return that;
}

No comments:

Post a Comment