mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
fd4ac46b34
commit
dc74a0b0ee
|
@ -10,6 +10,6 @@ flags: [generated]
|
||||||
|
|
||||||
const Subclass = class extends WeakRef {}
|
const Subclass = class extends WeakRef {}
|
||||||
|
|
||||||
const sub = new Subclass();
|
const sub = new Subclass({});
|
||||||
assert(sub instanceof Subclass);
|
assert(sub instanceof Subclass);
|
||||||
assert(sub instanceof WeakRef);
|
assert(sub instanceof WeakRef);
|
||||||
|
|
|
@ -10,6 +10,6 @@ flags: [generated]
|
||||||
|
|
||||||
class Subclass extends WeakRef {}
|
class Subclass extends WeakRef {}
|
||||||
|
|
||||||
const sub = new Subclass();
|
const sub = new Subclass({});
|
||||||
assert(sub instanceof Subclass);
|
assert(sub instanceof Subclass);
|
||||||
assert(sub instanceof WeakRef);
|
assert(sub instanceof WeakRef);
|
||||||
|
|
Loading…
Reference in New Issue