Skip to content

Commit

Permalink
Fallback to ArrayPrototype.ToString.
Browse files Browse the repository at this point in the history
  • Loading branch information
scgm0 committed Aug 18, 2023
1 parent 10726c8 commit d411a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jint/Native/Array/ArrayPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ internal JsValue ToString(JsValue thisObject, JsValue[] arguments)
func = _realm.Intrinsics.Object.PrototypeObject.ToObjectString;
}

return "[" + func(array, Arguments.Empty) +"]";
return func(array, Arguments.Empty);
}

private JsValue ToReversed(JsValue thisObject, JsValue[] arguments)
Expand Down

0 comments on commit d411a1e

Please sign in to comment.