param { String } rawText returns { String } example export function capitalizeFirstLetter ( rawText ) { const word = [ ... rawText ] ; word [ 0 ] = word [ 0 ] . toUpperCase ( ) ; const formatedPortName = word . join ( '' ) ; return formatedPortName ; }