The default parameter kicks in when the argument is not specified (it is undefined). As you can see in the example above, the parameter <code>name</code> will receive its default value <code>"Anonymous"</code> when you do not provide a value for the parameter. You can add default values for as many parameters as you want.
</section>
## Instructions
<sectionid='instructions'>
Modify the function <code>increment</code> by adding default parameters so that it will add 1 to <code>number</code> if <code>value</code> is not specified.
- text: 'The result of <code>increment(5, 2)</code> should be <code>7</code>.'
testString: 'assert(increment(5, 2) === 7, ''The result of <code>increment(5, 2)</code> should be <code>7</code>.'');'
- text: The result of <code>increment(5)</code> should be <code>6</code>.
testString: 'assert(increment(5) === 6, ''The result of <code>increment(5)</code> should be <code>6</code>.'');'
- text: default parameter <code>1</code> was used for <code>value</code>.
testString: 'getUserInput => assert(getUserInput(''index'').match(/value\s*=\s*1/g), ''default parameter <code>1</code> was used for <code>value</code>.'');'