Posts Tagged 'indexable'

2020-07-25 17:45 UTC

New: Relative Indexing Method for Indexables

Posted 2020-07-25 17:45 UTC in javascript new-toys indexable string array typed-array

The Stage 3 relative indexing method proposal adds an at method to strings, arrays, and typed arrays (collectively, "indexables"). Let's take a look! The Basics In its most basic form, the at method accepts an index and gives you the item at that…