Skip to content

Commit 0666054

Browse files
committed
docs(object): fixed wangdoc#109
1 parent 73e9fdc commit 0666054

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/object.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,7 @@ let { x: foo, y: bar }
489489
```typescript
490490
function draw({
491491
shape: Shape,
492-
xPos: number = 100,
493-
yPos: number = 100
492+
xPos: number = 100
494493
}) {
495494
let myShape = shape; // 报错
496495
let x = xPos; // 报错

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy