Ad
  • Custom User Avatar

    Your solution fails for following teest case: assert.equal(countSmileys([':---)','))',';~~D',';D']), 1);. There's only one valid smiley in this set, but your solution finds three.

    Not a kata issue, your solution has a bug.