Yes, please. Strings too.
I'd also love range access.. e.g. arr[2,5] to create a slice off the array/string/typedarray etc
/cc @MylesBorins @littledan @ljharbhttps://twitter.com/Fishrock123/status/1137072577925410816 …
-
-
same thing as `.slice(-1)`, I’d expect - the syntax should ideally work on any arraylike
-
Would it return UTF-16 code units, code points, or graphemes? It’s confusing either way. Hard pass.
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.