const admin = admins.find((admin) => admin.id === this.id); // 단일 값 반환 find const admin2 = admins.filter((admin) => admin.id === this.id); // 배열 반환 filter const isAdmin = admins.findIndex((admin) => admin.id === this.admin.id); // index 반환