From 431e4fc9d1657a50ebc34b8ac24f9bfaea06417f Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sat, 17 Sep 2022 19:39:05 +0800 Subject: Initial move to babel + change fetch to use async/await --- utils/stringUtils.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 utils/stringUtils.js (limited to 'utils/stringUtils.js') diff --git a/utils/stringUtils.js b/utils/stringUtils.js deleted file mode 100644 index f28841c..0000000 --- a/utils/stringUtils.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - - firstLetterCapital: firstLetterCapital, - - firstLetterWordCapital: firstLetterWordCapital - -} - -function firstLetterCapital(string) { - return string.substr(0, 1).toUpperCase() + string.substr(1) -} - -function firstLetterWordCapital(string) { - return string.split(" ").map(firstLetterCapital).join(" ") -} \ No newline at end of file -- cgit