Update write-arrow-functions-with-parameters.english.md
This commit is contained in:
parent
393489565e
commit
1a2843934f
@ -60,6 +60,11 @@ console.log(myConcat([1, 2], [3, 4, 5]));
|
||||
<section id='solution'>
|
||||
|
||||
```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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user