6 lines
112 B
JavaScript
6 lines
112 B
JavaScript
|
"use strict";
|
||
|
|
||
|
module.exports = function(string) {
|
||
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
||
|
};
|