Hacker GitHub

← All repos

tc39/proposal-relative-indexing-method

View on GitHub ↗ ★ 351 HTML archived

A TC39 proposal to add an .at() method to all the basic indexable classes (Array, String, TypedArray)

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2021-06-02 · latest 2024-09-25

Mentions per year 3 mentions · busiest year 2021 (2)
20082026
  1. …orchestras, violin[-1]). I believe you either meant `Python notation` or `violin.at(-1)` with https://github.com/tc39/proposal-relative-indexing-method
  2. …out that some libraries were using the presence of a `.item` property to duck-type DOM collections: https://github.com/tc39/proposal-relative-indexing-method#we...
    comment by IainIreland · 2021-06-03 · in Stage 3 Proposal: Array.prototype.at
  3. Proposal hosted on GitHub explains the reasoning behind it https://github.com/tc39/proposal-relative-indexing-method
    comment by nvartolomei · 2021-06-02 · in Stage 3 Proposal: Array.prototype.at