1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

LibJS: Use PropertyKey in MemberExpression::to_reference()

This commit is contained in:
Andreas Kling 2021-10-24 16:06:07 +02:00
parent 75f2510de9
commit c02e992de2

View file

@ -1040,7 +1040,7 @@ Reference MemberExpression::to_reference(Interpreter& interpreter, GlobalObject&
// 2. Let actualThis be ? env.GetThisBinding().
auto actual_this = TRY_OR_DISCARD(environment.get_this_binding(global_object));
StringOrSymbol property_key;
PropertyKey property_key;
if (is_computed()) {
// SuperProperty : super [ Expression ]