1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf 2016-06-01 12:47:30 +08:00
commit c467637921

View File

@ -89,7 +89,7 @@ ES6新增了使用大括号表示Unicode字符这种表示法在正则表达
**3量词** **3量词**
使用`u`修饰符后,所有量词都会正确识别大于码点大于`0xFFFF`的Unicode字符。 使用`u`修饰符后,所有量词都会正确识别码点大于`0xFFFF`的Unicode字符。
```javascript ```javascript
/a{2}/.test('aa') // true /a{2}/.test('aa') // true