Source Code (damit hier überhaupt was steht)

    function Rectangle () 
    {
        this.height;
        this.width;
    }
    
    Rectangle.prototype.setHeight = function(value)
    {
            this.height = value;
    }        
    Rectangle.prototype.getHeight = function()
    {
            return this.height;
    }        
    
    Rectangle.prototype.setWidth = function(value)
    {
            this.width = value;
    }    
    
    Rectangle.prototype.getWidth = function()
    {
            return this.width;
    }                        
    
    Rectangle.prototype.calc = function()
    {
            var result = this.getWidth() * this.getHeight();
            return result;
    }    
        
    function initApp()
    {
        var objectA = new Rectangle();
        objectA.setHeight(10);
        objectA.setWidth(2);
        
        var objectB = new Rectangle();
        objectB.setHeight(15);
        objectB.setWidth(3);
        
        alert(objectA.calc());
        alert(objectB.calc());
    }