let list = {}
let list2 = [1,2,4]
list2.map(res2=>{
if(res2==1){
list.item1 = true
}
if(res2==2){
list.item2 = true
}
if(res2==3){
list.item3 = true
}
if(res2==4){
list.item4 = true
}
})