fix(curriculum): update solution to match seed (#38828)

This commit is contained in:
Vipul Sinha
2020-05-18 23:22:38 +05:30
committed by GitHub
parent 2b3bd5c52d
commit 7e2b159350

View File

@ -64,9 +64,17 @@ function incrementer () {
<section id='solution'>
```js
// The global variable
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>