![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
zhishi_tudouni
这个作者很懒,什么都没留下…
展开
-
node简单解决跨域问题
通过设置 'Access-Control-Allow-Origin'请求头,简单解决 No 'Access-Control-Allow-Origin' header is present on the requested resource. 问题。原创 2017-12-19 17:34:47 · 2644 阅读 · 0 评论 -
javascript优化-循环
简要介绍js循环优化技巧:优化循环变量,倒序循环,减少循环次数。来自《高性能JavaScript》原创 2017-12-07 15:00:22 · 280 阅读 · 0 评论 -
js日期格式化
网上复制的到处都有,原始出处已经不知道了。添加后可以方便的格式化日期了 Date.prototype.format = function(format) { var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), ...转载 2018-07-19 16:31:19 · 192 阅读 · 0 评论