Fix "object destructuring for multiple return values" example

... to use the same destructured properties in the good and bad code.
This commit is contained in:
Arnav Singh
2016-03-20 22:40:07 -07:00
parent f796cfc81f
commit 8db205c4d2

View File

@@ -476,7 +476,7 @@ Other Style Guides
}
// the caller selects only the data they need
const { left, right } = processInput(input);
const { left, top } = processInput(input);
```