You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2024. It is now read-only.
more powerful (one syntax for many cases: arr[^1], arr[^2], etc.. or arr[~1] if this symbol is chosen)
more portable (it could apply to strings, we could use or not a protocol Symbol.index, I'm not sure it's needed, less spec additions is better)
more readable (similar to git shortcuts, C# also has a similar syntax, etc.)
no web compat risks
less complexity added (this proposal adds lastIndex and lastItem) and prototypes 'pollution', so
a symtax approach is more future-proof in that aspect maybe?