summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/class/subclass-builtins/subclass-Map.js
blob: a47e381092a17dfced408543ca66c3d68ccb7a24 (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/Map.case
// - src/subclass-builtins/default/statement.template
/*---
description: new SubMap() instanceof Map (Subclass instanceof Heritage)
features: [Map]
flags: [generated]
---*/


class Subclass extends Map {}

const sub = new Subclass();
assert(sub instanceof Subclass);
assert(sub instanceof Map);

reportCompare(0, 0);