test262/test/language/statements/class/subclass-builtins/subclass-Float64Array.js

16 lines
465 B
JavaScript

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