mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 13:34:38 +02:00
Avoid unrelated invalid input in PlainDate.from test.
This commit is contained in:
parent
158d0bf35f
commit
dff7c70254
@ -7,7 +7,7 @@ description: TypeError thrown when a primitive is passed as the options argument
|
|||||||
features: [Temporal]
|
features: [Temporal]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
const fields = { year: 2000, month: 13, day: 2 };
|
const fields = { year: 2000, month: 11, day: 2 };
|
||||||
|
|
||||||
const values = [null, true, "hello", Symbol("foo"), 1, 1n];
|
const values = [null, true, "hello", Symbol("foo"), 1, 1n];
|
||||||
for (const badOptions of values) {
|
for (const badOptions of values) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user