Source code

Revision control

Copy as Markdown

Other Tools

// This file was procedurally generated from the following sources:
// - src/subclass-builtins/Uint16Array.case
// - src/subclass-builtins/default/statement.template
/*---
description: new SubUint16Array() instanceof Uint16Array (Subclass instanceof Heritage)
features: [TypedArray, Uint16Array]
flags: [generated]
---*/
class Subclass extends Uint16Array {}
const sub = new Subclass();
assert(sub instanceof Subclass);
assert(sub instanceof Uint16Array);
reportCompare(0, 0);