Arrow Function Challenge

My function changes names of animals to upper case.

Named Function

            function convertToUpperCase(animals) {
                return animals.toUpperCase();
            }
        

Function Expression

            const convertToUpperCase = function(animals) {
            return animals.toUpperCase();
            };
        

Arrow Function

            const convertToUpperCase = (animals) => {
            return animals.toUpperCase();
            };