Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Functions, Packing, and Unpacking!
You have completed Functions, Packing, and Unpacking!
Preview
See unpacking in action with a practical example.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
enter their full name.
0:00
Entering their full name together
is quicker for your users, but for
0:01
your purposes you'd rather have their
first names and last names separated.
0:03
With unpacking and multiple assignment
you can capture the first name and
0:08
last name entered by your
user into their own variables
0:11
in just one line of code,
let's take a look.
0:14
First we'll ask for the name.
0:17
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