Update write-arrow-functions-with-parameters.english.md
This commit is contained in:
committed by
Kristofer Koishigawa
parent
393489565e
commit
1a2843934f
@ -60,6 +60,11 @@ console.log(myConcat([1, 2], [3, 4, 5]));
|
|||||||
<section id='solution'>
|
<section id='solution'>
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// solution required
|
const myConcat = (arr1, arr2) => {
|
||||||
|
"use strict";
|
||||||
|
return arr1.concat(arr2);
|
||||||
|
};
|
||||||
|
// test your code
|
||||||
|
console.log(myConcat([1, 2], [3, 4, 5]));
|
||||||
```
|
```
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user