Re: [heycam/webidl] `record<unsigned short, ...` (#978)

This JS code seems equivalent to what I need. Am I misunderstanding it?
 
```js
const o = { 0x0001: 'hello', 0x0002: 'world' };
-> {1: "hello", 2: "world"}
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/978#issuecomment-823084495

Received on Tuesday, 20 April 2021 08:25:25 UTC