mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 12:16:29 +00:00
10 lines
216 B
JavaScript
10 lines
216 B
JavaScript
"use strict";
|
|
|
|
var ensureString = require("type/string/ensure");
|
|
|
|
module.exports = function () {
|
|
var input = ensureString(this);
|
|
if (!input) return input;
|
|
return input.charAt(0).toUpperCase() + input.slice(1);
|
|
};
|