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

> We have a dictionary and we want it to contain a member that is a key-value mapping

Is this dictionary used as input (comes from JS) or output (gets returned to JS)?  Mostly trying to understand the specific use case we're trying to address here and what edge case would arise as we try to address it...

> Is this correct, or can a dictionary contain a reference type?

The values of dictionary members can be references.

-- 
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-356678091

Received on Wednesday, 10 January 2018 17:38:45 UTC