Blame view

node_modules/es5-ext/test/string/#/uncapitalize.js 323 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
  "use strict";
  
  module.exports = function (t, a) {
  	a(t.call("raz"), "raz", "Word");
  	a(t.call("BLA"), "bLA", "Uppercase");
  	a(t.call(""), "", "Empty");
  	a(t.call("a"), "a", "One letter");
  	a(t.call("this is a test"), "this is a test", "Sentence");
  	a(t.call("This is a test"), "this is a test", "Capitalized sentence");
  };