map(result.success ? (a) : 1).map(c => c.name) const a = 1;