Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 18-2 - Destructuring Objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const wes = {
};
```

For example here, I already used twitter as a variable. I can't use it again, but I'm stuck, because this object gives me twitter as a key and this object gives me twitter as a key. What you can do is you can rename them as you destructure them.
For example here, I already used twitter as a variable. I can't use it again, but I'm stuck, because this object gives me twitter as a key. What you can do is you can rename them as you destructure them.

So - I want the `twitter` property, but I want to call it `tweet`. I want the `facebook` property, but I want to call it `fb`.

Expand Down