concatenate arrays

PHOTO EMBED

Wed Apr 05 2023 16:05:45 GMT+0000 (Coordinated Universal Time)

Saved by @azcraze #javascript #array #arrays #join

const winners = ["Jane", "Bob"];
const losers = ["Ronald", "Kevin"];

const players = [...winners, ...losers];
content_copyCOPY

https://codetogo.io/how-to-concatenate-arrays-in-javascript/