Contact Emails: gsat...@chromium.org Spec: https://tc39.github.io/ecma262/#sec-array.prototype.values
Summary: The values() method returns a new Array Iterator object that contains the values for each index in the array. Compatibility Risk: The compat risk is high. There has been two attempts to ship this already back in 2014 and 2016, both of which found this to be web incompatible. For more details see: https://bugs.chromium.org/p/chromium/issues/detail?id=409858 https://bugs.chromium.org/p/chromium/issues/detail?id=615873 Both the launches were found to be incompatible with enterprise software (that couldn't be easily updated). Unfortunately, there's no easy to way to find out if this is still the case today. The shipping plan is to enable this feature by default and add both: a finch and an about:flags kill switch. The finch kill switch can be used to turn this off if more than just the enterprise site breaks. The about:flags kill switch can be toggled by the enterprise site users if it breaks, leaving the rest of the world to enjoy Array.prototype.values. Interoperability: Edge and Safari both ship this feature. Firefox does not ship this. They had similar web compat problems when they tried to ship this: https://bugzilla.mozilla.org/show_bug.cgi?id=1299444 But they plan to try and ship this again soon along with Chrome: https://bugzilla.mozilla.org/show_bug.cgi?id=1420101 Tracking bug: https://bugs.chromium.org/p/v8/issues/detail?id=4247 Chromestatus entry: https://www.chromestatus.com/feature/4755812090118144 -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.