Re: Intent to ship: Optional Chaining Operator

2020-01-29 Thread Johann Hofmann
Just a note: Please be conservative about using this in m-c while it's not enabled in release yet, to avoid issues when uplifting patches. Otherwise, I think this is a great new feature that I'd love to use. On Wed, Jan 22, 2020 at 4:30 PM Patrick Brosset wrote: > Thanks Yulia, this is going to

Re: Intent to ship: Optional Chaining Operator

2020-01-29 Thread Yulia Startsev
On Wednesday, January 22, 2020 at 4:30:33 PM UTC+1, Patrick Brosset wrote: > Thanks Yulia, this is going to be very useful and helpful in reducing code > complexity! > > For info, here's a DevTools bug to make sure the console panel still > supports autocompletion even when ?. is used: > https://b

Re: Intent to ship: Optional Chaining Operator

2020-01-29 Thread Mark Banner
ESLint doesn't implement new features until they are stage 4, so it tends to lag behind a bit. Hence at the moment, you won't be able to use these in our code. ESLint's tracking issue is here , and it looks like they've started working on it, so hopef

Re: Intent to ship: Optional Chaining Operator

2020-01-22 Thread Patrick Brosset
Thanks Yulia, this is going to be very useful and helpful in reducing code complexity! For info, here's a DevTools bug to make sure the console panel still supports autocompletion even when ?. is used: https://bugzilla.mozilla.org/show_bug.cgi?id=1594009 I also a question: do you know if eslint is

Intent to ship: Optional Chaining Operator

2020-01-21 Thread Yulia Startsev
Hi, In Firefox 74, we'll ship the optional chaining operator. *Bug: *https://bugzilla.mozilla.org/show_bug.cgi?id=1566143 *Standard: *https://tc39.es/proposal-optional-chaining/ *Platform coverage: *All, no pref *DevTools bug: *N/A. *Other browsers:* Shipping in Chrome, Shipping in Safari *Testin