Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwilliams committed Apr 25, 2020
1 parent ef1b8de commit 6c0963f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion boa/src/builtins/function_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub struct Function {
pub params: Vec<FormalParameter>,
/// This Mode
pub this_mode: ThisMode,
// Environment
// Environment, built-in functions don't need Environments
pub environment: Option<Environment>,
}

Expand Down
2 changes: 0 additions & 2 deletions boa/src/builtins/symbol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ pub fn to_string(this: &Value, _: &[Value], _: &mut Interpreter) -> ResultValue

/// <https://tc39.es/ecma262/#sec-symbol-constructor>
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));

Expand Down

0 comments on commit 6c0963f

Please sign in to comment.