diff --git a/boa/src/builtins/array/mod.rs b/boa/src/builtins/array/mod.rs index d60f056f3c..62d6a4f40b 100644 --- a/boa/src/builtins/array/mod.rs +++ b/boa/src/builtins/array/mod.rs @@ -301,7 +301,7 @@ impl Array { if !c.is_constructable() { return context.throw_type_error("Symbol.species must be a constructor"); } - c.construct(&[Value::from(length)], c.clone().into(), context) + c.construct(&[Value::from(length)], &c.clone().into(), context) } else { context.throw_type_error("Symbol.species must be a constructor") }