News for hackers. Stuff that matters.
Re:A Proposal for Type Syntax in JavaScript by trinovantes on Wednesday March 09, 2022 @06:26PM (#30621349)
I like the runtime generated enum code so that I can be somewhat lazy with generating options for <select>

    const options = Object.entries(MyEnum).map(([key, label]) => { key, label })

There are no comments on this comment yet.