Update text_utility.js

This commit is contained in:
Clement Ho 2017-11-17 16:53:18 +00:00
parent 56a0415846
commit fe93f98275

View file

@ -18,7 +18,7 @@ export const addDelimiter = text => (text ? text.toString().replace(/\B(?=(\d{3}
export const highCountTrim = count => (count > 99 ? '99+' : count);
/**
* Converst first char to uppercase and replaces undercores with spaces
* Converts first char to uppercase and replaces undercores with spaces
* @param {String} string
* @requires {String}
*/