Hey Shu,

This is already implemented behind the JSC runtime option `useAtMethod`.
(Latest relevant revision is r270005.)
Looking forward to seeing whether the new name is in fact web-compatible. 🤞

Ross


From: Shu-yu Guo via webkit-dev <webkit-dev@lists.webkit.org>
Sent: Monday, November 30, 2020 5:04:02 PM
To: webkit-dev@lists.webkit.org <webkit-dev@lists.webkit.org>
Subject: [webkit-dev] Request for position: relative indexing method on JS indexables
 
Hi all,

This is a request for the WebKit position on the TC39 relative indexing method proposal, which has been at Stage 3 since September 2020. It was initially named `.item`, but due to web incompatibility with the YUI library and Flickr, it was renamed in November 2020 to `.at`, pending further web incompatibility data.

Chrome would like to ship ASAP to gather said incompatibility data.

- Proposal: https://github.com/tc39/proposal-relative-indexing-method
- Specification: https://tc39.es/proposal-relative-indexing-method/
- ChromeStatus: https://chromestatus.com/feature/6123640410079232

Cheers,
Shu-yu Guo, V8