How to convert all Array values to LowerCase, UpperCase in JavaScript

Return all values from array in LowerCase or UpperCase using for loop instead of map in Javascript