GoScrobble/web/node_modules/es5-ext/test/string/#/capitalize.js

10 lines
251 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
"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");
};