Ruby - Operators and Expressions
You want to filter out falsy values from this array in Ruby:
arr = [false, nil, 0, "", [], true]Which code correctly returns only truthy values?
