constwithSubstring=str=> str.charAt(0).toUpperCase()+ str.substring(1);constwithSlice=str=> str.charAt(0).toUpperCase()+ str.slice(1);const string ='This is some example string';
ready
withSubstring(string);
ready
withSlice(string);
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running