Answers for "js union arrays"

0

js union arrays

let a = [34, 35, 45, 48, 49];
let b = [48, 55];
let union = [...new Set([...a, ...b])];
console.log(union);
Posted by: Guest on August-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language