You can also have multiple default parameters in a single function:
JavaScript: What are default parameters?
Brandon Morelli
5776

IMO default params should be applied right-to-left without skipping — you can't mix "mandatory" and "optional" arguments —, otherwise, the goal of defaulting is defeated.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.