/**
 * @since Last modified: 2023-11-16 12:14:11
 * @function startUpper
 * @description String first letter capitalization.
 * @param {string} str  - Original string.
 * @returns {string}  - Return new string.
 * @see {@link https://codepen.io/axui/pen/bGzYqoX|demo @ codepen}
 * @example
 * ax.startUpper('family');
 * <!--return "Family"-->
 */
'use strict';
const startUpper = (str) => {
    str = str.trim();
    return str.slice(0, 1).toUpperCase() + str.slice(1);
};
export default startUpper;
