Hacker News new | ask | show | jobs
by _jn 2837 days ago
FYI, your use of JS's `Map` class is wrong: `(new Map())['entries']` isn't undefined. The `get(k)`/`set(k, v)` methods should be used in this case.