摘要: function cat(){}cat.prototype={food:"fish",say: function(){alert("I love "+this.food);}} var blackCat = new cat;whiteDog = {food:"bone"};blackCat.say. 阅读全文
posted @ 2016-11-15 10:37 逝o0 阅读(227) 评论(0) 推荐(0) 编辑