0

I am having two arrays

array 1 = [ { "text": "Javascript" },
            { "text": "Angularjs" },
            { "text": "Scala" },
            { "text": "Apache Spark" },
            { "text": "Play Framework" }]

array 2 = [ { "text": "Javascript" },
  { "text": "Angularjs" },
  { "text": "Scala" }]

How do I get the intersection of the two objects with filters i.e [{ "text": "Angularjs" }, { "text": "Scala" }]

Ionic
  • 3,884
  • 1
  • 12
  • 33

0 Answers0