proposal-relative-indexing-method

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

Proposal-relative-indexing-method Alternatives

Similar projects and alternatives to proposal-relative-indexing-method

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better proposal-relative-indexing-method alternative or higher similarity.

proposal-relative-indexing-method reviews and mentions

Posts with mentions or reviews of proposal-relative-indexing-method. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-17.
  • Learning the new `at()` function, at #jslang
    2 projects | /r/javascript | 17 Sep 2021
    Just like every other array method, it’s type coerced. It’s a problem with all built ins, best not fracture this more in JS without a very good reason. https://github.com/tc39/proposal-relative-indexing-method/issues/40
    2 projects | /r/javascript | 17 Sep 2021
    They are going for consistency with existing methods to avoid “yet another quirk “. https://github.com/tc39/proposal-relative-indexing-method/issues/40
  • 10+ Interesting ECMAScript Proposals
    12 projects | dev.to | 7 Sep 2021
    .at()
  • Updates from the 85th meeting of TC39
    8 projects | dev.to | 1 Sep 2021
    .at() .at() method on all the built-in indexables.
  • Javascript ES2021 Summary
    2 projects | /r/javascript | 28 Jul 2021
    For a proposal to be finalized, it needs "Two compatible implementations which pass the acceptance tests" (source). This can mean browsers but also includes transpilers like babel. Chrome - which also includes other browsers now like Edge and Opera - will often release stage 3 features publicly before finalized, and Firefox isn't usually far behind, or sometimes even first, as was the case with the currently stage 3 at() method for arrays. Safari is probably the one you have to worry about the most. They tend to be further behind, I think mostly due to their release cadence being longer. Safari, for example, doesn't yet support private methods whereas the other browsers have supported them for some time now. While private methods are stage 4, they are expected to be part of ES2022 which hasn't been published yet - the current being ES2021.
  • Stage 3 Proposal: Array.prototype.at
    4 projects | news.ycombinator.com | 2 Jun 2021
    Proposal hosted on GitHub explains the reasoning behind it https://github.com/tc39/proposal-relative-indexing-method
  • Array Indexing Method
    2 projects | /r/javascript | 6 Feb 2021
    https://github.com/tc39/proposal-relative-indexing-method#rationale
    2 projects | dev.to | 6 Feb 2021
  • ES 2021 features (all 5 of them)
    5 projects | /r/javascript | 22 Jan 2021
    .at() for indexables
  • A note from our sponsor - WorkOS
    workos.com | 29 Mar 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →