my-idlers/node_modules/es5-ext/test/string/#/uncapitalize.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

11 lines
323 B
JavaScript
Vendored

"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");
};