Count Truthy Values

Variables & Types ยท medium

Implement `countTruthy(arr)` returning how many elements of `arr` are truthy.

Learning resources

Loading...

Run your code to see results.