Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Practice working with let and const variables in JavaScript.
More about Let and Const
Define Variables with let
and const
More about Objects
Intro to Template Literals
String Interpolation with Template Literals
Spread Operator
Copy and Combine Arrays with the Spread Operator
Hint: Unlike var
variables, let
and const
variables cannot be accessed before they are declared. Do you see anywhere toward the bottom of the code where this might be happening?
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
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