(str)
| 24 | * @return {string} A new string, same as the first, but with the first letter capitalized. |
| 25 | */ |
| 26 | var UppercaseFirst = function (str) |
| 27 | { |
| 28 | return str && str[0].toUpperCase() + str.slice(1); |
| 29 | }; |
| 30 | |
| 31 | module.exports = UppercaseFirst; |
no outgoing calls
no test coverage detected
searching dependent graphs…