Files
dsabot/functions/Capitalize.js
TobenderZephyr 79c95cea97 (dev) remove rewire, add babel-plugin-rewire. (#44)
* removed rewire. now using babel-rewire instead

* implemented more tests

* changed some eslint params

* linting

* linting

* coverage on getChant

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>
2021-05-06 10:52:33 +00:00

6 lines
131 B
JavaScript

const Capitalize = (Word = 'none') => {
return Word[0].toUpperCase() + Word.substring(1);
};
module.exports = { Capitalize };