capitalize.js 251 B

123456789
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t.call('raz'), 'Raz', "Word");
  4. a(t.call('BLA'), 'BLA', "Uppercase");
  5. a(t.call(''), '', "Empty");
  6. a(t.call('a'), 'A', "One letter");
  7. a(t.call('this is a test'), 'This is a test', "Sentence");
  8. };