mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibJS/Bytecode: Rename TypeofVariable => TypeofBinding
This commit is contained in:
parent
9d21d88374
commit
4302e07346
Notes:
sideshowbarker
2024-07-17 02:06:40 +09:00
Author: https://github.com/awesomekling
Commit: 4302e07346
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/165
5 changed files with 11 additions and 11 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue