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
Sometimes if an argument is not passed through, and you want it to have a starting value, no matter what, this is where a default argument will come to your assistance.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
PLUS
Lucas Nofal
Courses Plus Student 6,132 Points1 Answer
-
A X
12,842 Points2 Answers
-
horia
6,082 Points1 Answer
-
SAHIL SANWAL
6,116 Pointskeeping first argumnet null and entering second argument
Posted by SAHIL SANWALSAHIL SANWAL
6,116 Points1 Answer
-
Nathan Richie
1,428 PointsQuestion about passing default values and what it says in PHP docs.
Posted by Nathan RichieNathan Richie
1,428 Points1 Answer
-
Vishal Nand
1,777 Points1 Answer
-
Janice Childers
18,958 Points2 Answers
-
Elena Paraschiv
9,938 Points2 Answers
-
Elena Paraschiv
9,938 Points1 Answer
-
cynnimon
4,001 Points1 Answer
-
PLUS
Jaime Rios
Courses Plus Student 21,100 Points2 Answers
-
George Akinian
17,615 Points2 Answers
-
Mark VonGyer
21,239 Points1 Answer
-
Randall Zepeda
1,979 Points2 Answers
-
Greg Kaleka
39,021 Points1 Answer
-
Daniel Thornycroft
310 Points1 Answer
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