随笔分类 -  js

摘要:转自:https://www.cnblogs.com/Wayou/p/es6_new_features.html 本文基于 "lukehoban" / " es6features " ,同时参考了大量博客资料,具体见文末引用。 ES6( "ECMAScript" 6)是即将到来的新版本JavaScr 阅读全文
posted @ 2017-11-17 09:55 hopher 阅读(191) 评论(0) 推荐(0)
摘要:``` /** * 正则Group匹配 * 匹配url中 :id 等占位符字段 */ function getMatches (string) { let matches = [] let regex = /(:[a-z_]+)/ let match = regex.exec(string) while (match !== null) { matches.push(... 阅读全文
posted @ 2017-11-17 09:12 hopher 阅读(1997) 评论(0) 推荐(0)
摘要:淘宝安装 安装淘宝镜像 阅读全文
posted @ 2017-11-13 11:48 hopher 阅读(930) 评论(0) 推荐(0)
摘要:示例 参考文献 http://www.cnblogs.com/kissdodog/archive/2012/12/22/2829489.html http://tools.jb51.net/tools/Escape.asp http://tool.lu/js/ 阅读全文
posted @ 2017-10-17 11:28 hopher 阅读(641) 评论(0) 推荐(0)