Why not filter first and after that iterate over array? I mean let employedPersons = persons.filter(e => e.employed == 'yes');
確定! 回上一頁