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
letstr="This is a test string with letters.";letresult="";for(leti=0;i<str.length;i++){letchar=str.charAt(i);if(char<"A"||char>"z"||(char>"Z"&&char<"a")){result+=char;}}console.log(result);// " ."
The text was updated successfully, but these errors were encountered: