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
- 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
This bit of syntactic sugar can reduce simple if / else conditionals to a single line.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
elomaur
5,276 Points2 Answers
-
PLUS
Tojo Alex
Courses Plus Student 13,331 Points4 Answers
-
James Wall
5,198 Points1 Answer
-
Michael Thompson
7,427 Points2 Answers
-
Youssef Gerges
Front End Web Development Techdegree Student 7,980 Points1 Answer
-
Jason Rice
6,657 Points2 Answers
-
JingChi Liang
1,081 Points1 Answer
-
Michael North
2,561 Points1 Answer
-
Nicolas Bastos
4,209 Points1 Answer
-
PLUS
ujz ujz
Courses Plus Student 6,664 Points3 Answers
-
Jonathan Cooper
11,938 Points4 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