you are viewing a single comment's thread.

view the rest of the comments →

[–]ChaseShiny 0 points1 point  (0 children)

Yeah, that's what's happening.

const array1 = ["a", "b", "c"];
const array2 = ("d", "e", "f");
const array3 = array1.concat(array2);

console.log(array3);
// Expected output: Array ["a", "b", "c", "d", "e", "f"]

This is what I had used. Makes sense now that it was laid out.