Skip to content

Commit 84f35a4

Browse files
committed
调整
1 parent de5e194 commit 84f35a4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@
5151

5252
- 向对象添加属性和方法
5353

54+
##### from() 方法用于通过拥有 length 属性的对象或可迭代的对象来返回一个数组。
55+

number.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,5 @@ Number.prototype.minus = function (n){
4545
return this.valueOf() - n
4646
}
4747

48-
console.log((5).add(3).minus(2))
48+
console.log((5).add(3).minus(2))
49+

0 commit comments

Comments
 (0)