Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a8ab952

Browse filesBrowse files
committed
2019.01.22
2 parents dc003cd + d5d8031 commit a8ab952
Copy full SHA for a8ab952

22 files changed

+14-9,937Lines changed: 14 additions & 9937 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Cute-JavaScript/Cute-JS/README.md‎

Copy file name to clipboardExpand all lines: Cute-JavaScript/Cute-JS/README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
## JavaScript中级
2727
15. [JS对象介绍](https://github.com/pingan8787/Leo-JavaScript/tree/master/Cute-JavaScript/Cute-JS/level2/1.JS对象介绍.md)
2828
16. [JSON对象介绍](https://github.com/pingan8787/Leo-JavaScript/tree/master/Cute-JavaScript/Cute-JS/level2/2.JSON对象介绍.md)
29-
17. [JSON对象介绍](https://github.com/pingan8787/Leo-JavaScript/tree/master/Cute-JavaScript/Cute-JS/level2/3.WebAPI介绍.md)
29+
17. [WebAPI介绍](https://github.com/pingan8787/Leo-JavaScript/tree/master/Cute-JavaScript/Cute-JS/level2/3.WebAPI介绍.md)
3030

3131
更新中
3232

Collapse file

‎Cute-JavaScript/Cute-JS/level1/6.数字.md‎

Copy file name to clipboardExpand all lines: Cute-JavaScript/Cute-JS/level1/6.数字.md
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,11 @@ Number.isSafeInteger(3.0); // true
178178
数字类型原型上的方法:
179179

180180
|方法|描述|案例|
181+
<<<<<<< HEAD
181182
|---|---|---|
183+
=======
184+
|---|---|-|
185+
>>>>>>> d5d80312677f93c2655fa2cf4a9df26085ea78b5
182186
|`toExponential()`|返回一个数字的指数形式的字符串|1.23e+2|
183187
|`toFixed()`|返回指定小数位数的表示形式|var a=123,b=a.toFixed(2)//b="123.00"|
184188
|`toPrecision()`|返回一个指定精度的数字。|a=123中,3会由于精度限制消失var a=123,b=a.toPrecision(2)//b="1.2e+2"|
Collapse file

‎Cute-JavaScript/Cute-JS/level1/9.正则表达式.md‎

Copy file name to clipboardExpand all lines: Cute-JavaScript/Cute-JS/level1/9.正则表达式.md
+8Lines changed: 8 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ let reg = new RegExp("^[a-zA-z]", "gi");
2424
正则表达式的返回值,是一个新的`RegExp`对象,具有指定的模式和标志。
2525
**返回信息介绍**
2626
|对象|属性|描述|案例中对应的值|
27+
<<<<<<< HEAD
2728
|---|---|---|---|
29+
=======
30+
|---|---|-|-|
31+
>>>>>>> d5d80312677f93c2655fa2cf4a9df26085ea78b5
2832
|`reg`|`lastIndex`|下一个匹配的索引(仅在使用`g`参数时可用)|`0`|
2933
|`reg`|`source`|模式文本。在正则表达式创建时更新,不执行。|`"ab+c"`|
3034
|`reg`|`ignoreCase`|是否使用了 "i" 标记使正则匹配忽略大小写。|`true`|
@@ -79,7 +83,11 @@ let result2 = /(leo \S)/g.exec("hello leo hi leo!");
7983
```
8084
**返回信息介绍**
8185
|对象|属性|描述|案例中对应的值|
86+
<<<<<<< HEAD
8287
|---|---|---|---|
88+
=======
89+
|---|---|-|-|
90+
>>>>>>> d5d80312677f93c2655fa2cf4a9df26085ea78b5
8391
|`result`|`[0]`|匹配到的所有字符串|`"leo"`|
8492
|`result`|`input`|初始字符串。|`"hello leo!"`|
8593
|`result`|`index`|在输入的字符串中匹配到的以0开始的索引值。|`6`|

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.