Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Destructuring lets you break apart an array or object into variables. Watch this video to see for yourself just how easy it is.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Rick S
11,273 Points0 Answers
-
Carlo Hogeveen
10,584 Points0 Answers
-
Ken S.
3,838 PointsIn the destructuring-default-function.js example, in the first getData, why does = {} have to be added to the first arg?
Posted by Ken S.Ken S.
3,838 Points1 Answer
-
Rose Gao
5,914 Points1 Answer
-
jlampstack
23,932 Points2 Answers
-
jlampstack
23,932 Points4 Answers
-
cyber voyager
8,859 Points2 Answers
-
ac10
12,799 Points3 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up