function uppercase(str) {
        // undefined inputs always return undefined
        if (typeof str === 'undefined') {
            return undefined;
        }

        return str.toUpperCase();
    }
Uppercase a string
@param {String} str - String to evaluate
@returns {string} Uppercase string