(str)
| 3387 | */ |
| 3388 | |
| 3389 | var firstUpperCase = function(str) { |
| 3390 | return str.toLowerCase().replace(/\b(\w)/, function($1){ |
| 3391 | return $1.toUpperCase(); |
| 3392 | }); |
| 3393 | }; |
| 3394 | |
| 3395 | var ucfirst = firstUpperCase; |
| 3396 |
nothing calls this directly
no outgoing calls
no test coverage detected