Test3

Tiglath Suriol tiglathsuriol at gmail.com
Thu Mar 26 22:21:29 EDT 2015


/*
 *  Only assholes need reply to this thread.  
 */

var Obj = (function() {
    return function() {
        var docRoot = '/as-qa23';
        this.validateDocRoot = function(val) {
            // throw Exception if not OK
        };
        this.setDocRoot = function(val) {
            this.validateDocRoot(val);
            docRoot = val;
        };
        this.getDocRoot = function() {
            return docRoot;
        };
        Object.preventExtensions(this)
    };
}());



More information about the Python-list mailing list