79395431

Date: 2025-01-28 23:42:07
Score: 3
Natty:
Report link
const isPalidrome = s => {
    let b = true;
    for (let x=0, y=s.length-1; x < y && b; x++, y--)
        b = s[x] == s[y];    
    return b;
}

console.log(isPalidrome('poop'));
Reasons:
  • Blacklisted phrase (2): poop
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paul Bartlett