Knuth–Morris–Pratt algorithm's logic in 123 characters in JS | Hacker News Reader