Sam Ruby wrote:
I think that the problem here isn't that it is ambiguous, it is that it isn't obvious.
Fair point!
Something that might be more obvious but requires an additional character: `orders.?[client.key].price`.
That's not bad. The whole proposal may founder, though, on "grawlix" objections.
And some still want the ?obj.foo.bar to "soak" null/undefined obj and missing foo or null/undefined value of foo. CoffeeScript fans for sure, but it's in principle and practice at least as valid a use-case as obj.?foo is.
/be _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss