mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
We shouldn't change `String(a)` into `"" + a` if `a` can be a Symbol. `String(Symbol())` does not throw an error, but `"" + Symbol()` does. **References** - [Spec of `ToString` (called for `"" + variable`)](https://tc39.es/ecma262/multipage/abstract-operations.html#sec-tostring) - [Spec of `String(a)`](https://tc39.es/ecma262/multipage/text-processing.html#sec-string-constructor-string-value) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| minsize.snap | ||
| README.md | ||
Track Minification size
See minification-benchmarks for baseline.