Skip to content

Test262 TODO: Date.prototype.toJSON + Temporal.Instant epochNanoseconds #694

@rogeralsing

Description

@rogeralsing

Summary

  • fix Date.prototype.toJSON to follow spec (ToObject/ToPrimitive, return null on non-finite)
  • implement Temporal.Instant.prototype.epochNanoseconds getter
  • ensure Temporal prototypes are available when requested
  • update TODO notes for the above

Tests

  • dotnet test tests/Asynkron.JsEngine.Tests.Test262 -c Release --settings tests/Asynkron.JsEngine.Tests.Test262/BuiltInsTests.runsettings --filter "Name=Date_prototype_toJSON|Name=Date_prototype_toTemporalInstant|Name=Temporal_Instant_prototype_epochNanoseconds"

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