fix typos
This commit is contained in:
@@ -122,7 +122,7 @@ person.height = '180';
|
||||
```js
|
||||
let a = 1;
|
||||
|
||||
let b = a;// 将 b 赋值给 a
|
||||
let b = a;// 将 a 赋值给 b
|
||||
|
||||
b = 2; // 修改 b 的值
|
||||
```
|
||||
|
||||
@@ -334,7 +334,7 @@ match()这个方法还是很实用的,可以在一个很长的字符串中,
|
||||
|
||||
手机号的规则:
|
||||
|
||||
- 以1开头
|
||||
- 以1开头(`^1` 表示1开头 , `[^1]`表示非1或除了1)
|
||||
|
||||
- 第二位是3~9之间任意数字
|
||||
|
||||
|
||||
Reference in New Issue
Block a user