Re: Using objects for a mapping argument

On Sun, Sep 25, 2016 at 4:52 PM, Domenic Denicola <d@domenic.me> wrote:
> The actual [[OwnPropertyKeys]] steps look pretty reasonable, and yeah, maybe factoring them out into some kind of phrase that lets you extract things in this sort of scenario makes sense. This might tie into the discussions around OpenEndedDictionary?

Yeah, given how

  let x = { 23: "x", 45: "y" }
  x[45]
  x["23"]

works it seems this would be compatible with OpenEndedDictionary.


-- 
https://annevankesteren.nl/

Received on Monday, 26 September 2016 07:12:15 UTC