 Remember to use <a>**`Read-Search-Ask`**</a> if you get stuck. Try to pair program  and write your own code 
###  Problem Explanation:
Remove all <ahref='https://guide.freecodecamp.org/javascript/falsy-values/'target='_blank'rel='nofollow'>falsy</a> values from an array.
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.
If you found this page useful, you can give thanks by copying and pasting this on the main chat:
##  NOTES FOR CONTRIBUTIONS:
*  **DO NOT** add solutions that are similar to any existing solutions. If you think it is **_similar but better_**, then try to merge (or replace) the existing similar solution.
* Add an explanation of your solution.
* Categorize the solution in one of the following categories — **Basic**, **Intermediate** and **Advanced**. 