0

I have an array of the given key-value format.

Array->

    [{
        "Name": "A",
        "Place": "A",
        "Comments": "A"
    },
    {
        "Name": "B",
        "Place": "B",
        "Comments": "B"
    },
    {
        "Name": "C",
        "Place": "C",
        "Comments": "C"
    }]

I need to remove all the values associated with the term "Place" using Javascript to get a result similar to this.

Array->

    [{
        "Name": "A",
        "Comments": "A"
    },
    {
        "Name": "B",
        "Comments": "B"
    },
    {
        "Name": "C",
        "Comments": "C"
    }]

How can this be done?

Akhil Kintali
  • 496
  • 2
  • 11
  • 27

0 Answers0