# reduce condition

```javascript
// Bad
if(target-numbers[L] < numbers[R]){
    R--
 } else {
    L++
 }

// Good
target-numbers[L] < numbers[R] ? R-- : L++

```
