I have this array:
var arr=[{Id:'3',Status:True, ObjectId:'23'},
{Id:'4',Status:False, ObjectId:'5'},
{Id:'5',Status:True, ObjectId:'78'},
{Id:'6',Status:False, ObjectId:'54'},
{Id:'7',Status:True, ObjectId:'85'}]
The status is Boolean type.
In arr variable I need to change the content of all properties.
Where Status is True I need to set it as Fixed.
Where Status is False I need to set it as Damaged.
Here is desired result:
var arr=[{Id:'3',Status:Fixed, ObjectId:'23'},
{Id:'4',Status:Damaged, ObjectId:'5'},
{Id:'5',Status:Fixed, ObjectId:'78'},
{Id:'6',Status:Damaged, ObjectId:'54'},
{Id:'7',Status:Fixed, ObjectId:'85'}]
What is the best way to implement it?

Fixeda string?