fix(curriculum): update solution to match seed (#38828)
This commit is contained in:
@ -64,9 +64,17 @@ function incrementer () {
|
|||||||
<section id='solution'>
|
<section id='solution'>
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
// The global variable
|
||||||
var fixedValue = 4;
|
var fixedValue = 4;
|
||||||
|
|
||||||
const incrementer = val => val + 1;
|
// Only change code below this line
|
||||||
|
function incrementer (fixedValue) {
|
||||||
|
return fixedValue + 1;
|
||||||
|
|
||||||
|
// Only change code above this line
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user