2014年7月9日
摘要: function repeat(target,n){ return Array.prototype.join.call({length: n + 1} , target); }repeat('str',2);//输出strstr 阅读全文
posted @ 2014-07-09 23:29 violinxliu 阅读(278) 评论(0) 推荐(0) 编辑