Avoid nested ternary operator | JS best practise #coding #javascript # ...

Avoid nested ternary operator | JS best practise #coding #javascript # ...