mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	LibJS: Rename BoundFunction::m_target_function to match spec name
This commit is contained in:
		
							parent
							
								
									a08292d76c
								
							
						
					
					
						commit
						4566472ed6
					
				
					 6 changed files with 19 additions and 28 deletions
				
			
		|  | @ -30,7 +30,7 @@ FunctionObject::~FunctionObject() | |||
| BoundFunction* FunctionObject::bind(Value bound_this_value, Vector<Value> arguments) | ||||
| { | ||||
|     auto& vm = this->vm(); | ||||
|     FunctionObject& target_function = is<BoundFunction>(*this) ? static_cast<BoundFunction&>(*this).target_function() : *this; | ||||
|     FunctionObject& target_function = is<BoundFunction>(*this) ? static_cast<BoundFunction&>(*this).bound_target_function() : *this; | ||||
| 
 | ||||
|     auto bound_this_object = [&vm, bound_this_value, this]() -> Value { | ||||
|         if (!m_bound_this.is_empty()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh