Tagged articles

reversible

1 articles · Page 1 of 1
Taobao Frontend Technology
Taobao Frontend Technology
Feb 10, 2022 · Fundamentals

Why JavaScript’s split Loses Data and How the Reversible String Split Proposal Fixes It

The article explains the recent TC39 progress of the reversible‑string‑split proposal, outlines the criteria for advancing to Stage 1, compares JavaScript’s split behavior with other languages, and describes the new splitN method that restores reversibility while preserving existing split semantics.

JavaScriptLanguage DesignProposal
0 likes · 6 min read
Why JavaScript’s split Loses Data and How the Reversible String Split Proposal Fixes It