Hi,<p>I'm trying to learn how to code happy numbers in JS. I've seen a bunch of examples but most are either very difficult to read / understand, use implicity declared global variables, or have really bad style (according to ESLint / D. Crockford).<p>Can anyone point me in the direction of a readable, clean, not-too-difficult-to-grok happy numbers func in JS?<p>TIA