diff --git a/boa/src/builtins/function_object.rs b/boa/src/builtins/function_object.rs index acf6bded26c..11443ef951f 100644 --- a/boa/src/builtins/function_object.rs +++ b/boa/src/builtins/function_object.rs @@ -64,7 +64,7 @@ pub struct Function { pub params: Vec, /// This Mode pub this_mode: ThisMode, - // Environment + // Environment, built-in functions don't need Environments pub environment: Option, } diff --git a/boa/src/builtins/symbol/mod.rs b/boa/src/builtins/symbol/mod.rs index 4554cf3ce44..84a105c07b5 100644 --- a/boa/src/builtins/symbol/mod.rs +++ b/boa/src/builtins/symbol/mod.rs @@ -58,8 +58,6 @@ pub fn to_string(this: &Value, _: &[Value], _: &mut Interpreter) -> ResultValue /// pub fn create_constructor(global: &Value) -> Value { - // symbol_constructor.set_internal_method("call", call_symbol); - // Create prototype let symbol_prototype = ValueData::new_obj(Some(&global));