|
|
@ -162,7 +162,7 @@ impl GcObject { |
|
|
|
let arguments_obj = create_unmapped_arguments_object(args); |
|
|
|
let arguments_obj = create_unmapped_arguments_object(args); |
|
|
|
local_env |
|
|
|
local_env |
|
|
|
.borrow_mut() |
|
|
|
.borrow_mut() |
|
|
|
.create_mutable_binding("arguments".to_string(), false, false) |
|
|
|
.create_mutable_binding("arguments".to_string(), false, true) |
|
|
|
.map_err(|e| e.to_error(context))?; |
|
|
|
.map_err(|e| e.to_error(context))?; |
|
|
|
local_env |
|
|
|
local_env |
|
|
|
.borrow_mut() |
|
|
|
.borrow_mut() |
|
|
@ -259,7 +259,7 @@ impl GcObject { |
|
|
|
let arguments_obj = create_unmapped_arguments_object(args); |
|
|
|
let arguments_obj = create_unmapped_arguments_object(args); |
|
|
|
local_env |
|
|
|
local_env |
|
|
|
.borrow_mut() |
|
|
|
.borrow_mut() |
|
|
|
.create_mutable_binding("arguments".to_string(), false, false) |
|
|
|
.create_mutable_binding("arguments".to_string(), false, true) |
|
|
|
.map_err(|e| e.to_error(context))?; |
|
|
|
.map_err(|e| e.to_error(context))?; |
|
|
|
local_env |
|
|
|
local_env |
|
|
|
.borrow_mut() |
|
|
|
.borrow_mut() |
|
|
|