mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-07 08:33:50 +08:00
`[...text]` lowered to an array literal that spread the array of text's code points: the literal's array copied the code point strings, retaining each one, and the code point array then released them. An array literal whose only element is a spread of a string is now the code points array itself, as `Array.from(text)` already was. Both are fresh arrays.