Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js union arrays

let a = [34, 35, 45, 48, 49];
let b = [48, 55];
let union = [...new Set([...a, ...b])];
console.log(union);
 
PREVIOUS NEXT
Tagged: #js #union #arrays
ADD COMMENT
Topic
Name
5+8 =