Re: [heycam/webidl] record with arbitrary value types as keys? (#509)

K is effectively a property in a JavaScript object so has to be a string. Using an enum there would be possible, though at that point why would you not use a dictionary?

I followed your links, but they don't provide much context here either.

-- 
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/509#issuecomment-356618644

Received on Wednesday, 10 January 2018 14:42:25 UTC