You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(stringOfCharacters.slice(i,i+1)==findCharacter){//take each character out from string to compare with the given character. If true, then add one to countTime.
// Your implementation of this function must *not* call String.prototype.repeat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat).
3
3
// The goal is to re-implement that function, not to use it.
0 commit comments