JavaScript for help! Add fields to objects in the data

clipboard.png
A click event that adds a field to the fsg array of objects with mobile number 123. "iscoll": true.
how do I do this?! Ask for help from the boss

Feb.11,2022

list.fsg.map(s=>{
    if(s[""] == "123"){
        s["iscoll"] = true;
        return;
    }
});

let c = list.fsg.filter (ele = > ele ['mobile phone number'] = '123');
c [0] .iscoll = true

Menu