摘要: var test5=new Function('this.pi=3.14;this.area=function(r){return this.pi*r*r}'); var i=new test5(); console.log(i.area(9)) var test5=new Function('th 阅读全文
posted @ 2018-12-01 21:45 飞翔的cloud 阅读(212) 评论(0) 推荐(0) 编辑