I have a JSON as below.
{
"key" : "Balance",
"translation" : [ 
    {
        "language" : "English",
        "value" : "abc"
    }, 
    {
        "language" : "German",
        "value" : "faq"
    }
]
}
I'm passing the language "English" and the language and its value should delete. There are many keys so I'm using for loop in my function to get that language.
this._work.forEach( ( translation ) => {
        translation.translation.forEach( data => delete data.language[ language ] );
    } );
this._work contains the above json value. Here the language and its value not deleting. What I'm missing?
 
     
     
    