freeCodeCamp Challenge Guide: I before E except after C

I before E except after C


Solutions

Solution 1 (Click to Show/Hide)
function IBeforeExceptC(word) {
  return word.indexOf("cei") !== -1;
}
1 Like