scrimba
Learn Modern JavaScript
Write Arrow Functions with Parameters
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Write Arrow Functions with Parameters
AboutCommentsNotes
Write Arrow Functions with Parameters
Expand for more info
index.js
run
preview
console
var myConcat = function(arr1, arr2) {
return arr1.concat(arr2);
};

console.log(myConcat([1, 2], [3, 4, 5]));
Console
index.html
-0:59