mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-15 03:17:05 +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