1
0

capitalize.js 183 B

12345678
  1. 'use strict';
  2. var value = require('../../object/valid-value');
  3. module.exports = function () {
  4. var str = String(value(this));
  5. return str.charAt(0).toUpperCase() + str.slice(1);
  6. };