mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-08 03:45:23 +08:00
Update function name casing to match convention
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
* @param {String} inputString input string
|
* @param {String} inputString input string
|
||||||
* @returns {String}
|
* @returns {String}
|
||||||
*/
|
*/
|
||||||
const TitleCaseConversion = (inputString) => {
|
const titleCaseConversion = (inputString) => {
|
||||||
// Extact all space seprated string.
|
// Extact all space seprated string.
|
||||||
const stringCollections = inputString.split(' ').map(word => {
|
const stringCollections = inputString.split(' ').map(word => {
|
||||||
let firstChar = ''
|
let firstChar = ''
|
||||||
|
Reference in New Issue
Block a user