blob: 3e6b8ccf31b3736c89805209992e67205deb3fe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// This file was procedurally generated from the following sources:
// - src/subclass-builtins/WeakMap.case
// - src/subclass-builtins/default/statement.template
/*---
description: new SubWeakMap() instanceof WeakMap (Subclass instanceof Heritage)
features: [WeakMap]
flags: [generated]
---*/
class Subclass extends WeakMap {}
const sub = new Subclass();
assert(sub instanceof Subclass);
assert(sub instanceof WeakMap);
reportCompare(0, 0);
|