随笔分类 - js
摘要:转自:https://www.cnblogs.com/Wayou/p/es6_new_features.html 本文基于 "lukehoban" / " es6features " ,同时参考了大量博客资料,具体见文末引用。 ES6( "ECMAScript" 6)是即将到来的新版本JavaScr
阅读全文
摘要:```
/** * 正则Group匹配 * 匹配url中 :id 等占位符字段 */
function getMatches (string) { let matches = [] let regex = /(:[a-z_]+)/ let match = regex.exec(string) while (match !== null) { matches.push(...
阅读全文
摘要:示例 参考文献 http://www.cnblogs.com/kissdodog/archive/2012/12/22/2829489.html http://tools.jb51.net/tools/Escape.asp http://tool.lu/js/
阅读全文

浙公网安备 33010602011771号