摘要: 在prototype-1.3.1框架中,首先为每个对象都定义了一个extend方法://为Object类添加静态方法:extendObject.extend = function(destination, source) { for(property in source) { destination[property] = source[property]; } return destin... 阅读全文
posted @ 2006-11-28 09:27 robinhood 阅读(286) 评论(0) 推荐(0) 编辑