
JavaScript: From Fundamentals to Functional JS, v2 Destructuring Challenge
This course has been updated! We now recommend you take the JavaScript: From First Steps to Professional course.
Transcript from the "Destructuring Challenge" Lesson
[00:00:00]
>> Bianca Gandolfo: So we're gonna create an object that looks something like this, right? We have a name, a room, and a weapon. And we have a new character, Rusty. He sounds a little suspicious if you ask me. And we have room in the kitchen. So we're gonna extract out the weapon and location using the structuring techniques mentioned above.
[00:00:23] You can use whatever keyword for declaring your variables as you like.