Posts Tagged 'string'

2021-01-26 11:55 UTC

What is a String?

Posted 2021-01-26 11:55 UTC in javascript string unicode

JavaScript strings are slightly more complex than people sometimes think they are. That comes up in relation to various topics I like to write about, so I thought a post talking about the nature of JavaScript strings would be handy as something I…

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…