1. Write a function that filters out even numbers from an array.
2. Filter an array to include only odd numbers.
3. Given an array of strings, filter out strings that have more than 3 characters.
4. Write a function that filters out negative numbers from an array.
5. Given an array of boolean values, filter out the `true` values.
6. Filter an array of strings to include only those that contain the letter 'a'.
7. Filter an array of numbers to return only those greater than 5.
8. Write a function that filters out empty strings from an array.
9. Write a function that maps an array of numbers to an array where each number is doubled.
10. Convert an array of numbers into an array of strings using `map`.
11. Write a function that converts an array of strings to uppercase using `map`.
12. Given an array of numbers, map it to an array of `true` (if the number is positive) or `false` (if the
number is negative).
13. Write a function that adds 1 to each number in an array using `map`.
14. Given an array of strings, return an array of the first letter of each string using `map`.
15. Convert an array of strings to an array of their lengths using `map`.
16. Write a function that squares each number in an array using `map`.
17. Use `forEach` to log each element of an array to the console.
18. Write a function that uses `forEach` to calculate the sum of an array of numbers.
19. Use `forEach` to multiply each number in an array by 2 and log the results.
20. Use `forEach` to log each string in an array in uppercase.
21. Use `forEach` to add an exclamation mark to each string in an array and log the new strings.
22. Use `forEach` to log the index and value of each element in an array.
23. Use `forEach` to log only the odd numbers from an array.
24. Write a function that uses `forEach` to log numbers greater than 10 from an array.
25. Use `forEach` to concatenate all strings in an array into a single string and log it.