My function changes names of animals to upper case.
function convertToUpperCase(animals) {
return animals.toUpperCase();
}
const convertToUpperCase = function(animals) {
return animals.toUpperCase();
};
const convertToUpperCase = (animals) => {
return animals.toUpperCase();
};