fetchData.reduce(el => { el.key == statement ? return [...tab, {key1: el.key1, ket2: el.key2}] : '' }, tab);
reduce мб?