Skip to content

Test262 TODO: TypedArray.prototype.at #706

@rogeralsing

Description

@rogeralsing

Context: Fix Test262 failures for TypedArray.prototype.at with sparse array inputs and resizable buffers.\n\nChanges:\n- TypedArrayBase.Set(JsArray) now iterates up to source.Length and uses GetElement to treat holes as undefined, matching JS array semantics.\n- This allows typed array construction from sparse arrays to map holes to undefined (NaN/0), satisfying at() expectations.\n\nTests:\n- dotnet test tests/Asynkron.JsEngine.Tests.Test262 -c Release --settings tests/Asynkron.JsEngine.Tests.Test262/BuiltInsTests.runsettings --filter "Name=TypedArray_prototype_at"\n

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions