摘要: 一、在javaScript中闭包的五种表现形式如下: 1 /** 2 * Created by admin on 2016/12/26. 3 *//* 4 //向函数对象添加属性 5 function Circle(r){ 6 this.r=r; 7 } 8 Circle.prototype.PI= 阅读全文
posted @ 2016-12-26 11:36 九门唐大佛爷 阅读(250) 评论(0) 推荐(0) 编辑