mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-05 13:05:24 +00:00
This concept is not present in ECMAScript, and it bothers me every time
I see it.
It's only used by WrapperGenerator, and even there only relevant in two
places, so let's fully remove it from LibJS and use a simple ternary
expression instead:
cpp_name = js_name.is_null() && legacy_null_to_empty_string
? String::empty()
: js_name.to_string(global_object);
57 KiB
57 KiB