mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 17:37:00 +02:00
JS::PrimitiveString::create uses `is_empty()` on DeprecatedString to use the empty string cache on the VM. However, this also considers the DeprecatedString null state to be empty, giving an empty string instead of `null` for null DeprecatedStrings.
4.5 KiB
4.5 KiB