first-none-falsy-value-or-last
Version:
a function which returns the first none falsy value or the last value, if alle values are falsy
2 lines (1 loc) • 211 B
JavaScript
a function which returns the first none falsy value or the last value, if alle values are falsy