|
|
|
|
|
by niyazpk
4541 days ago
|
|
Yes, the second option is better in most cases. I'd spend more time reading the first one to understand what is going on compared to the second option. Keep in mind that you will have to go for the first option (or other better options) if you expect 'falsy' values to be passed as arguments. |
|