Closed saschanaz closed 2 years ago
Per notes:
Chrome isn't planning on unshipping this just yet.
And it's been shipping to stable for a while now, which suggests .flat
might well work out.
Sidestep all naming issues and make it Array.prototype[Symbol.flatten]
@bakkot I don't understand, it's obviously a webcompt issue
SGN: Chrome isn't planning on unshipping this just yet. There's no point in discussing this now.
MF: I think it's worth discussing this now. As the champion of this proposal, I'd like to at least hear where the strong opposition is.
SGN: I think it's important to inform the committee that there is a breakage and that we need to address that, but there's no point discussing the options now.
As my understanding, SGN said it's important to inform TC39 there is a webcompt issue, but don't want to discuss it in the meeting.
And it's been shipping to stable for a while now, which suggests .flat might well work out.
What should we expect ?? Anyone report breaking again due to using old versions of Highcharts? And if no such report we just believe there is no other site use old versions of Highcharts and broken ??
@hax I haven't heard anything new from the Chrome team, and the linked issue hasn't had any updates. It's up to them to decide if it's enough of an issue that they want to unship it. You might want to follow up there.
@bakkot So it only depend on Chrome team to decide what is real webcomp issue?
@hax It depends on each individual browser - Chrome's just the first one to ship it. Chrome could decide to keep shipping it while another browser decides not to, or vice versa - but if Chrome decides it's able to keep shipping it, it's probably a good indicator that other browsers will be comfortable with the same decision.
This proposal is stage 4, and the names are long since finalized as flat
/flatMap
.
https://esdiscuss.org/notes/2018-09-26#arrayprototypeflat-map-for-stage-4 https://bugs.chromium.org/p/chromium/issues/detail?id=888128
So it looks like the new name
flat
again caused a potential web compat problem.A quick dictionary search shows some candidates:
compact(It's already taken, https://github.com/tc39/proposal-flatMap/pull/56#issuecomment-371022423)