Skip to content

Commit

Permalink
%TypedArray%.prototype.map should use Set (not CreateDataPropertyOrTh…
Browse files Browse the repository at this point in the history
…row).
  • Loading branch information
iamstolis committed Jun 20, 2024
1 parent b23495e commit be79811
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@ protected Object map(Object thisObj, Object callback, Object thisArg) {
@Override
protected MaybeResultNode makeMaybeResultNode() {
return new ForEachIndexCallNode.MaybeResultNode() {
@Child private WriteElementNode writeOwnNode = WriteElementNode.create(getContext(), true, true);
@Child private WriteElementNode writeOwnNode = WriteElementNode.create(getContext(), true, !isTypedArrayImplementation);

@Override
public MaybeResult<Object> apply(long index, Object value, Object callbackResult, Object currentResult) {
Expand Down

0 comments on commit be79811

Please sign in to comment.