(function(){ window.OpenPopKa = true;}())

For function "countChr", write the missing part of the recursive call. This function should return the number of times that the letter "A" appears in string "str".

[editor.getValue()]
if (guess[0] != initEditor) { console.log(guess[0]); window.codeValue = guess[0]; window.progexType = "RecurTutor"; window.summexName = "RecCCountChrPROG"; } else { return ""; }

The string passed in the recursive call should be less by one character everytime the recursive call is executed.