]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/string/#/capitalize.js
ed768273651c9aead7b84f6ee525d3c82e299445
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / string / # / capitalize.js
1 'use strict';
2
3 var value = require('../../object/valid-value');
4
5 module.exports = function () {
6 var str = String(value(this));
7 return str.charAt(0).toUpperCase() + str.slice(1);
8 };