(s)
| 18 | }; |
| 19 | |
| 20 | var ucfirst = function(s) { |
| 21 | return s.substr(0, 1).toUpperCase() + s.substring(1); |
| 22 | }; |
| 23 | |
| 24 | var substituteVariables = function(s, value) { |
| 25 | return s.replace('<LOWER>', value).replace('<UCFIRST>', ucfirst(value)); |
no outgoing calls
no test coverage detected