Herby Vojčík wrote:
OTOH, there could be consistent contraproposal of: ``` Object#{foo(42) + 7: "bar"} null#{foo(42) + 7: "bar"} #{foo(42) + 7: "bar"} ``` where the first is equivalent to {[foo(42)+7]: "bar"}, the second is pure container (Object.create(null)) filled with properties, and the third is the default case, but I don't know which of the previous two - the first is probably less confusing, though the feels more clean.
... though the second feels more ... _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss