(text, split = ' ')
| 128 | }, |
| 129 | |
| 130 | firstUpperCase(text, split = ' ') { |
| 131 | return text.split(split).map(word => `${word.charAt(0).toUpperCase()}${word.slice(1)}`).join(' '); |
| 132 | }, |
| 133 | |
| 134 | shorten(text, maxLen = 2000) { |
| 135 | return text.length > maxLen ? `${text.substr(0, maxLen - 3)}...` : text; |
nothing calls this directly
no outgoing calls
no test coverage detected