return {
guid: n.guid,
items,
}
const [ selectedRegion ] = this.regions.filter(region => this.area.region_id === region.region_id);
const searchArr = this.searchArr.bind(this);
arr.forEach(function(val,i,arr2){
const search = searchArr(val, result);
...
});
arr.forEach((val,i,arr2) => {
const search = this.searchArr(val, result);
...
});
document
Никак придумать не могу.