Skip to content

Comment on Atom Shell is now Electronparent

Comments

Longer, harder to reason against...

    const caps = new Array(26).map((item, index) => String.fromCharCode(65 + index));
Shorter, easier to reason against.
    const caps = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('');
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.