mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +00:00
9 lines
183 B
JavaScript
9 lines
183 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var value = require("../../object/valid-value");
|
||
|
|
||
|
module.exports = function () {
|
||
|
var str = String(value(this));
|
||
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
||
|
};
|