Skip to content

Commit ade8fc8

Browse files
committed
Removing v8-compat mode related deviation in Array.prototype.toLocaleString().
1 parent 04fd337 commit ade8fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/builtins/ArrayPrototypeBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ public abstract static class JSArrayToLocaleStringNode extends JSArrayOperation
18791879

18801880
public JSArrayToLocaleStringNode(JSContext context, JSBuiltin builtin, boolean isTypedArrayImplementation) {
18811881
super(context, builtin, isTypedArrayImplementation);
1882-
this.passArguments = context.isOptionIntl402() && !context.isOptionV8CompatibilityMode();
1882+
this.passArguments = context.isOptionIntl402();
18831883
this.stringBuilderProfile = StringBuilderProfile.create(context.getStringLengthLimit());
18841884
}
18851885

0 commit comments

Comments
 (0)