Files
ladybird/Libraries/LibJS/Runtime/StringOrSymbol.h
Linus Groh 965050796f LibJS: Don't create StringOrSymbol(String) if from_value() fails
If value.to_string() throws an exception and returns a null string we
must create an invalid StringOrSymbol, not one from the null string
(which ASSERT()s).
2020-11-07 10:08:05 +01:00

5.3 KiB