Answers for "concat without dublicate item"

0

concat without dublicate item

var a = [1, 2, 3], b = [101, 2, 1, 10]
var c = a.concat(b.filter((item) => a.indexOf(item) < 0))
Posted by: Guest on July-01-2021

Code answers related to "concat without dublicate item"

Browse Popular Code Answers by Language