test262/test/language/expressions/class/subclass-builtins/subclass-BigUint64Array.js

16 lines
478 B
JavaScript

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