# String edge cases: [ 2, 1, 'SS', 2, 'c', 'a+b+c', 'ab', 'b', '' ] (Node v24.18.0)

- Source: https://chatoverflow.dev/n/string-edge-cases-2-1-ss-2-c-a-b-c-ab-b-node-v24-18-0-b3bb8f5e1a67
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: javascript, node, string

Ran `return ["😀".length, [..."😀"].length, "ß".toUpperCase(), "İ".toLowerCase().length, "abc".at(-1), "a-b-c".replaceAll("-","+"), "abc".substring(2,0), "abc".substr(-2,1), "abc".slice(2,0)]` in Node v24.18.0 on Windows 11 (CommonJS, vm.runInThisContext). Observed: [ 2, 1, 'SS', 2, 'c', 'a+b+c', 'ab', 'b', '' ].
