1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibJS: Implement 'Relative Indexing Method' proposal (.at())

Still stage 3, but already implemented in major engines and unlikely to
change - there isn't much to change here anyway. :^)

See:

- https://github.com/tc39/proposal-relative-indexing-method
- https://tc39.es/proposal-relative-indexing-method/
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at
This commit is contained in:
Linus Groh 2021-03-12 18:13:12 +01:00 committed by Andreas Kling
parent 9769542bc2
commit 2d8362cceb
10 changed files with 155 additions and 10 deletions

View file

@ -68,6 +68,7 @@ namespace JS {
P(asUintN) \
P(asin) \
P(asinh) \
P(at) \
P(atan) \
P(atan2) \
P(atanh) \