This course has been updated! We now recommend you take the JavaScript: From First Steps to Professional course.

Check out a free preview of the full JavaScript: From Fundamentals to Functional JS, v2 course:
The "Looping Exercise, Part 3" Lesson is part of the full, JavaScript: From Fundamentals to Functional JS, v2 course featured in this preview video. Here's what you'd learn in this lesson:

In this exercise, students destructure nested data structure into two variables.

Get Unlimited Access Now

Transcript from the "Looping Exercise, Part 3" Lesson

[00:00:00]
>> Bianca Gandolfo: The exercise is to destructure this nested data structure into two variables with the strings red and orange. So at the end of this, you should have two variables, one should hold the value red and the next should hold the value orange.