2015年4月26日

Function.prototype.toString

摘要: 语法:fn.toString(indentation)改方法返回当前函数源代码的字符串,而且还可对此字符串进行操作,比如:function num(){ };var str = num.toString();console.log(str);//"function num(){}"console.l... 阅读全文

posted @ 2015-04-26 22:28 复读机 阅读(154) 评论(0) 推荐(0)

导航