mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:02:44 +00:00 
			
		
		
		
	LibJS: Implement Symbol.toStringTag
This commit is contained in:
		
							parent
							
								
									5ecd504f4e
								
							
						
					
					
						commit
						43d955014d
					
				
					 11 changed files with 55 additions and 0 deletions
				
			
		|  | @ -74,6 +74,8 @@ void MathObject::initialize(Interpreter& interpreter, GlobalObject& global_objec | |||
|     define_property("PI", Value(M_PI), 0); | ||||
|     define_property("SQRT1_2", Value(M_SQRT1_2), 0); | ||||
|     define_property("SQRT2", Value(M_SQRT2), 0); | ||||
| 
 | ||||
|     define_property(interpreter.well_known_symbol_to_string_tag(), js_string(interpreter, "Math"), Attribute::Configurable); | ||||
| } | ||||
| 
 | ||||
| MathObject::~MathObject() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Matthew Olsson
						Matthew Olsson