Falsy is something which evaluates to FALSE. There are only six falsy values in JavaScript: undefined, null, NaN, 0, "" (empty string), and false of course.
* We use a for cycle to iterate over all elements of the provided array (arr).
* We use the if statement to check if the current element is <ahref='http://forum.freecodecamp.com/t/javascript-truthy-value/15975'target='_blank'rel='nofollow'>truthy</a> or <ahref='https://guide.freecodecamp.org/javascript/falsy-values/'target='_blank'rel='nofollow'>falsy</a>.
* If the element is truthy, we push it to the new array (newArray). This result in the new array (newArray) containing only truthy elements.
* The `Array.prototype.filter` method expects a function that returns a `Boolean` value which takes a single argument and returns `true` for <ahref='http://forum.freecodecamp.com/t/javascript-truthy-value/15975'target='_blank'rel='nofollow'>truthy</a> value or `false` for <ahref='https://guide.freecodecamp.org/javascript/falsy-values/'target='_blank'rel='nofollow'>falsy</a> value. Hence we pass the built-in `Boolean` function.