LibJS/Bytecode: Rename TypeofVariable => TypeofBinding

This commit is contained in:
Andreas Kling 2024-06-14 09:37:26 +02:00 committed by Andreas Kling
commit 4302e07346
Notes: sideshowbarker 2024-07-17 02:06:40 +09:00
5 changed files with 11 additions and 11 deletions

View file

@ -389,7 +389,7 @@ inline ThrowCompletionOr<void> throw_if_needed_for_call(Interpreter& interpreter
return {};
}
inline ThrowCompletionOr<Value> typeof_variable(VM& vm, DeprecatedFlyString const& string)
inline ThrowCompletionOr<Value> typeof_binding(VM& vm, DeprecatedFlyString const& string)
{
// 1. Let val be the result of evaluating UnaryExpression.
auto reference = TRY(vm.resolve_binding(string));