/*
 *  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)
    };
}());
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to