摘要:        
var BaseCalculator = function() { this.decimalDigits = 2;};BaseCalculator.prototype = { add: function(x, y) { return x + y; }, subtract: function(x, y) { return x - y; }};var Calculator = function () { //为每个实例都声明一个税收数字 this.tax = 5;}; Calculator.prototype = ...    阅读全文
        
            posted @ 2012-09-16 09:57
冲锋的路上的兵
阅读(256)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
 
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号