News for hackers. Stuff that matters.
Re:KindScript – A kinder JavaScript experience by dchest on Sunday March 20, 2016 @12:10PM (#11323414)
What you want is to use is a map, not a JavaScript object. Here you go:

    const m = new Map();
    m.set("__alpha__", 10);
    m.set("__bravo__", 20);
    m.set("__proto__", 30);
    for (let k of m.keys()) {
       console.log(k);
    }

There are no comments on this comment yet.