Monday 26 August 2019

Delete a property from the array of objects

Suppose I have an object with three properties:object = { "A" :"a", "B":"b", "C":1};Now I have an array arr which have many such objects, I want to delete property C from each object in arr and get the final array. Is there any efficient method possibly using lodash?

Submitted August 27, 2019 at 06:24AM by GhostFoxGod

No comments:

Post a Comment